2024-02-06 21:26:03 +08:00
|
|
|
{
|
|
|
|
"enable-chat": true,
|
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-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": {
|
|
|
|
"base-url": "https://api.anthropic.com/v1",
|
|
|
|
"args": {
|
|
|
|
"max_tokens": 1024
|
|
|
|
},
|
|
|
|
"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
|
|
|
}
|
|
|
|
}
|