-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbase_config.json
More file actions
105 lines (105 loc) · 2.75 KB
/
base_config.json
File metadata and controls
105 lines (105 loc) · 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"defaults": {
"provider": "anthropic",
"model": "claude-4-5-sonnet-latest",
"channel": "cli"
},
"providers": {
"anthropic": {
"driver": "anthropic",
"api_key": "",
"api_base": "",
"api_key_env_name": "ANTHROPIC_API_KEY",
"api_base_env_name": "ANTHROPIC_BASE_URL"
},
"google": {
"driver": "google",
"api_key": "",
"api_base": "",
"api_key_env_name": "GOOGLE_API_KEY",
"api_base_env_name": "GOOGLE_BASE_URL"
},
"openai": {
"driver": "openai_compatible",
"capabilities": {
"supports_reasoning_effort": true
},
"api_key": "",
"api_base": "https://api.openai.com/v1",
"api_key_env_name": "OPENAI_API_KEY",
"api_base_env_name": "OPENAI_BASE_URL"
},
"qwen": {
"driver": "openai_compatible",
"capabilities": {
"supports_reasoning_effort": false
},
"api_key": "",
"api_base": "https://dashscope.aliyuncs.com/compatible-mode/v1",
"api_key_env_name": "QWEN_API_KEY",
"api_base_env_name": "QWEN_BASE_URL"
},
"deepseek": {
"driver": "openai_compatible",
"capabilities": {
"supports_reasoning_effort": false
},
"api_key": "",
"api_base": "https://api.deepseek.com/v1",
"api_key_env_name": "DEEPSEEK_API_KEY",
"api_base_env_name": "DEEPSEEK_BASE_URL"
},
"ollama": {
"driver": "ollama",
"api_base": "http://localhost:11434",
"api_base_env_name": "OLLAMA_BASE_URL"
}
},
"channels": {
"cli": {
"type": "cli",
"enabled": true
},
"telegram": {
"type": "telegram",
"enabled": false,
"token": "",
"token_env_name": "TELEGRAM_TOKEN",
"allowed_user_ids": [],
"allowed_user_ids_env_name": "ALLOWED_TG_USER_IDS"
},
"feishu": {
"type": "feishu",
"enabled": false,
"mode": "websocket",
"host": "127.0.0.1",
"port": 8081,
"path": "/feishu/events",
"app_id": "",
"app_secret": "",
"verification_token": "",
"encrypt_key": "",
"reply_receive_id_type": "chat_id",
"app_id_env_name": "FEISHU_APP_ID",
"app_secret_env_name": "FEISHU_APP_SECRET",
"verification_token_env_name": "FEISHU_VERIFICATION_TOKEN",
"encrypt_key_env_name": "FEISHU_ENCRYPT_KEY",
"allowed_user_ids": [],
"allowed_user_ids_env_name": "FEISHU_ALLOWED_USER_IDS",
"allowed_chat_ids": [],
"allowed_chat_ids_env_name": "FEISHU_ALLOWED_CHAT_IDS"
}
},
"maintenance": {
"compact": {
"provider": "ollama",
"model": "qwen2.5:7b"
}
},
"trim": {
"hard_truncate_chars": 8000,
"soft_trim_head": 1500,
"soft_trim_tail": 1500,
"compact_summary_chars": 100
}
}