feat: rebuild AI commands and migrate config to TOML
This commit is contained in:
25
.env.example
25
.env.example
@@ -2,12 +2,19 @@ TG_API_ID=123456
|
||||
TG_API_HASH=your_api_hash_here
|
||||
SESSION_DIR=sessions
|
||||
ACCOUNTS_JSON=[{"name":"personal","session":"personal"},{"name":"work","session":"work"}]
|
||||
BRAVE_API_KEY=your_brave_search_api_key_here
|
||||
BRAVE_SEARCH_COUNT=5
|
||||
BRAVE_SEARCH_COUNTRY=US
|
||||
BRAVE_SEARCH_LANG=en
|
||||
BRAVE_SEARCH_UI_LANG=en-US
|
||||
BRAVE_SEARCH_SAFESEARCH=moderate
|
||||
PAGE_EXTRACT_MAX_CHARS=12000
|
||||
PAGE_EXTRACT_RENDER_DYNAMIC=true
|
||||
# AI_CONFIG={"default_model":"mm","context_messages":12,"prompt":{"root":"prompts/ai","system_file":"system.md","parts_dir":"parts"},"providers":{"minimax":{"api_key":"your_minimax_api_key_here","base_url":"https://api.minimax.io/v1"},"openrouter":{"api_key":"your_openrouter_api_key_here","base_url":"https://openrouter.ai/api/v1"}},"models":{"mm":{"provider":"minimax","model":"MiniMax-Text-01"},"or":{"provider":"openrouter","model":"openai/gpt-4o-mini"}}}
|
||||
BOT_CONFIG=config.toml
|
||||
ELEVENLABS_API_KEY=your_elevenlabs_api_key_here
|
||||
ELEVENLABS_MODEL_ID=scribe_v2
|
||||
# ELEVENLABS_LANGUAGE_CODE=ru
|
||||
# ELEVENLABS_REQUEST_TIMEOUT_SECONDS=300
|
||||
GLM_API_URL=https://api.z.ai/api/paas/v4
|
||||
GLM_API_KEY=your_glm_api_key_here
|
||||
GLM_MODEL=glm-5.3
|
||||
DEEPSEEK_API_URL=https://api.deepseek.com
|
||||
DEEPSEEK_API_KEY=your_deepseek_api_key_here
|
||||
DEEPSEEK_MODEL=deepseek-v4-flash
|
||||
# AI_MAX_CONTEXT_MESSAGES=100
|
||||
# AI_MAX_MEDIA_BYTES=5242880
|
||||
# AI_MAX_TOOL_ROUNDS=16
|
||||
BRAVE_SEARCH_API_KEY=your_brave_search_api_key_here
|
||||
# BRAVE_SEARCH_TIMEOUT_SECONDS=10
|
||||
|
||||
Reference in New Issue
Block a user