Files
zzrouter/backend/app/config.py

22 lines
371 B
Python

"""Application configuration."""
from pathlib import Path
# Database
DB_PATH = Path(__file__).parent.parent / "data" / "zzrouter.db"
# Server
HOST = "0.0.0.0"
PORT = 8000
# Logging
LOG_BATCH_SIZE = 100
LOG_FLUSH_INTERVAL = 1.0 # seconds
# Model routing
MODEL_PROVIDER_MAP = {
"gpt": "openai",
"o1": "openai",
"o3": "openai",
"claude": "anthropic",
}