This commit is contained in:
Sergei Poljanski 2026-02-22 21:33:23 +02:00
commit ec1112e162
Signed by: asxpi
GPG key ID: 4F8851660FA4121B
22 changed files with 837 additions and 0 deletions

15
bot/config.py Normal file
View file

@ -0,0 +1,15 @@
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()