Spaces:
Running
Running
File size: 336 Bytes
bb159c0 95d0aed 1a92b4b 6573f9c 95d0aed fc5c393 95d0aed |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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()
|