mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00:00
78 lines
1.9 KiB
JSON
78 lines
1.9 KiB
JSON
{
|
|
"enable-chat": true,
|
|
"enable-vision": true,
|
|
"keys": {
|
|
"openai": [
|
|
"sk-1234567890"
|
|
],
|
|
"anthropic": [
|
|
"sk-1234567890"
|
|
],
|
|
"moonshot": [
|
|
"sk-1234567890"
|
|
],
|
|
"deepseek": [
|
|
"sk-1234567890"
|
|
],
|
|
"gitee-ai": [
|
|
"XXXXX"
|
|
]
|
|
},
|
|
"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
|
|
},
|
|
"gitee-ai-chat-completions": {
|
|
"base-url": "https://ai.gitee.com/v1",
|
|
"args": {},
|
|
"timeout": 120
|
|
}
|
|
},
|
|
"model": "gpt-4o",
|
|
"prompt-mode": "normal",
|
|
"prompt": {
|
|
"default": ""
|
|
},
|
|
"runner": "local-agent",
|
|
"dify-service-api": {
|
|
"base-url": "https://api.dify.ai/v1",
|
|
"app-type": "chat",
|
|
"chat": {
|
|
"api-key": "app-1234567890",
|
|
"timeout": 120
|
|
},
|
|
"agent": {
|
|
"api-key": "app-1234567890",
|
|
"timeout": 120
|
|
},
|
|
"workflow": {
|
|
"api-key": "app-1234567890",
|
|
"output-key": "summary",
|
|
"timeout": 120
|
|
}
|
|
}
|
|
} |