2024-02-06 21:26:03 +08:00
|
|
|
{
|
|
|
|
"enable-chat": true,
|
2024-05-15 21:40:18 +08:00
|
|
|
"enable-vision": false,
|
2024-03-16 22:12:13 +08:00
|
|
|
"keys": {
|
|
|
|
"openai": [
|
2024-02-06 21:26:03 +08:00
|
|
|
"sk-1234567890"
|
2024-03-18 00:44:45 +08:00
|
|
|
],
|
|
|
|
"anthropic": [
|
|
|
|
"sk-1234567890"
|
2024-03-19 22:39:45 +08:00
|
|
|
],
|
|
|
|
"moonshot": [
|
|
|
|
"sk-1234567890"
|
2024-05-07 22:28:52 +08:00
|
|
|
],
|
|
|
|
"deepseek": [
|
|
|
|
"sk-1234567890"
|
2024-03-16 22:12:13 +08:00
|
|
|
]
|
2024-02-06 21:26:03 +08:00
|
|
|
},
|
2024-03-16 22:12:13 +08:00
|
|
|
"requester": {
|
|
|
|
"openai-chat-completions": {
|
|
|
|
"base-url": "https://api.openai.com/v1",
|
|
|
|
"args": {},
|
|
|
|
"timeout": 120
|
2024-03-18 00:44:45 +08:00
|
|
|
},
|
|
|
|
"anthropic-messages": {
|
2024-03-19 22:39:45 +08:00
|
|
|
"base-url": "https://api.anthropic.com",
|
2024-03-18 00:44:45 +08:00
|
|
|
"args": {
|
|
|
|
"max_tokens": 1024
|
|
|
|
},
|
|
|
|
"timeout": 120
|
2024-03-19 22:39:45 +08:00
|
|
|
},
|
|
|
|
"moonshot-chat-completions": {
|
|
|
|
"base-url": "https://api.moonshot.cn/v1",
|
|
|
|
"args": {},
|
|
|
|
"timeout": 120
|
2024-05-07 22:28:52 +08:00
|
|
|
},
|
|
|
|
"deepseek-chat-completions": {
|
|
|
|
"base-url": "https://api.deepseek.com",
|
|
|
|
"args": {},
|
|
|
|
"timeout": 120
|
2024-03-16 22:12:13 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"model": "gpt-3.5-turbo",
|
2024-02-06 21:26:03 +08:00
|
|
|
"prompt-mode": "normal",
|
|
|
|
"prompt": {
|
2024-03-16 21:43:45 +08:00
|
|
|
"default": ""
|
2024-02-06 21:26:03 +08:00
|
|
|
}
|
|
|
|
}
|