starship / config.py
curry tang
update
9458b7d
raw
history blame contribute delete
340 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
deepseek_api_key: str
open_router_api_key: str
tongyi_api_key: str
debug: bool
default_provider: str
model_config = SettingsConfigDict(env_file=('.env', '.env.local'), env_file_encoding='utf-8')
settings = Settings()