15 lines
353 B
Python
15 lines
353 B
Python
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class Settings(BaseSettings):
|
|
bot_token: str
|
|
telegram_api_id: int
|
|
telegram_api_hash: str
|
|
telegram_phone: str
|
|
anthropic_api_key: str
|
|
claude_model: str = "claude-opus-4-6"
|
|
|
|
model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"}
|
|
|
|
|
|
settings = Settings()
|