feat: rebuild AI commands and migrate config to TOML

This commit is contained in:
Azimkin
2026-09-14 13:03:04 +02:00
parent 01d3173254
commit 4421c9cd31
53 changed files with 1840 additions and 3464 deletions

40
config.example.toml Normal file
View File

@@ -0,0 +1,40 @@
api_id = 123456
api_hash = "your_api_hash_here"
session_dir = "sessions"
[[accounts]]
name = "personal"
session = "personal"
[[accounts]]
name = "work"
session = "work"
[github_webhook]
enabled = false
host = "0.0.0.0"
port = 8080
secret = "change-me"
[elevenlabs]
api_key = "your_elevenlabs_api_key_here"
model_id = "scribe_v2"
language_code = ""
request_timeout_seconds = 300
[ai]
max_context_messages = 100
max_media_bytes = 5242880
max_tool_rounds = 16
brave_api_key = "your_brave_search_api_key_here"
brave_timeout_seconds = 10
[ai.glm]
api_url = "https://api.z.ai/api/paas/v4"
api_key = "your_glm_api_key_here"
model = "glm-5.3"
[ai.deepseek]
api_url = "https://api.deepseek.com"
api_key = "your_deepseek_api_key_here"
model = "deepseek-v4-flash"