init
This commit is contained in:
commit
ec1112e162
22 changed files with 837 additions and 0 deletions
15
bot/config.py
Normal file
15
bot/config.py
Normal 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()
|
||||
Loading…
Add table
Add a link
Reference in a new issue