aitoolkits-webui / config.py
twn39's picture
update
fc5c393
raw
history blame contribute delete
336 Bytes
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
deep_seek_api_key: str
open_router_api_key: str
tongyi_api_key: str
debug: bool
hf_endpoint: str
model_config = SettingsConfigDict(env_file=('.env', '.env.local'), env_file_encoding='utf-8')
settings = Settings()