mirror of
https://github.com/RockChinQ/QChatGPT.git
synced 2024-11-16 03:32:33 +08:00
53 lines
1.2 KiB
JSON
53 lines
1.2 KiB
JSON
{
|
|
"enable-chat": true,
|
|
"enable-vision": true,
|
|
"keys": {
|
|
"openai": [
|
|
"sk-1234567890"
|
|
],
|
|
"anthropic": [
|
|
"sk-1234567890"
|
|
],
|
|
"moonshot": [
|
|
"sk-1234567890"
|
|
],
|
|
"deepseek": [
|
|
"sk-1234567890"
|
|
]
|
|
},
|
|
"requester": {
|
|
"openai-chat-completions": {
|
|
"base-url": "https://api.openai.com/v1",
|
|
"args": {},
|
|
"timeout": 120
|
|
},
|
|
"anthropic-messages": {
|
|
"base-url": "https://api.anthropic.com",
|
|
"args": {
|
|
"max_tokens": 1024
|
|
},
|
|
"timeout": 120
|
|
},
|
|
"moonshot-chat-completions": {
|
|
"base-url": "https://api.moonshot.cn/v1",
|
|
"args": {},
|
|
"timeout": 120
|
|
},
|
|
"deepseek-chat-completions": {
|
|
"base-url": "https://api.deepseek.com",
|
|
"args": {},
|
|
"timeout": 120
|
|
},
|
|
"ollama-chat": {
|
|
"base-url": "http://127.0.0.1:11434",
|
|
"args": {},
|
|
"timeout": 600
|
|
}
|
|
},
|
|
"model": "gpt-3.5-turbo",
|
|
"prompt-mode": "normal",
|
|
"prompt": {
|
|
"default": ""
|
|
},
|
|
"runner": "local-agent"
|
|
} |