-
Notifications
You must be signed in to change notification settings - Fork 124
/
config.json
74 lines (74 loc) · 1.7 KB
/
config.json
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
{
"debug": false,
"load_balancing": "random",
"services": {
"xinghuo": [
{
"models": ["spark-lite"],
"enabled": true,
"credentials": {
"appid": "xxx",
"api_key": "xxx",
"api_secret": "xxx"
}
}
],
"qianfan": [
{
"models": ["yi_34b_chat","ERNIE-Speed-8K","ERNIE-Speed-128K","ERNIE-Lite-8K","ERNIE-Lite-8K-0922","ERNIE-Tiny-8K"],
"enabled": true,
"credentials": {
"api_key": "xxx",
"secret_key": "xxx"
}
}
],
"hunyuan": [
{
"models": ["hunyuan-lite"],
"enabled": true,
"credentials": {
"secret_id": "xxx",
"secret_key": "xxx"
}
}
],
"openai": [
{
"models": ["deepseek-chat"],
"enabled": true,
"credentials": {
"api_key": "xxx"
},
"server_url":"https://api.deepseek.com/v1"
},
{
"models": ["@cf/meta/llama-2-7b-chat-int8"],
"enabled": true,
"credentials": {
"api_key": "xxx"
},
"server_url": "https://api.cloudflare.com/client/v4/accounts/xxx/ai/v1/chat/completions"
},
{
"models": ["glm-4","glm-3-turbo"],
"enabled": true,
"credentials": {
"api_key": "xxx"
},
"server_url":"https://open.bigmodel.cn/api/paas/v4/chat/completions"
}
],
"minimax": [
{
"models": ["abab6-chat"],
"enabled": true,
"credentials": {
"group_id": "1782658868262748467",
"api_key": "xxx"
},
"server_url":"https://api.minimax.chat/v1/text/chatcompletion_pro"
}
]
}
}