tg-channel-analysis/bot/config.py
2026-02-22 21:33:23 +02:00

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()