- openai_engine: 请求体严格纯官方 OpenAI /chat/completions 格式(tool 消息去 name、 tool_calls 重建、tools 统一 type=function);500(含 xunfei/Invalid Params)自动去掉 tools 降级重试;_friendly_error 友好提示;MODEL_CONTEXT_WINDOWS 补讯飞星火。 - ollama_engine/fc_tools/cli_core: tool 消息去 name。 - config.py resolve_input_value(<input> 语法);ollama max_token_k(默认 <input:...>); launcher 向导加 max_token_k 步骤。
22 lines
461 B
JSON
22 lines
461 B
JSON
{
|
|
"api": {
|
|
"engines": {
|
|
"ollama": {
|
|
"api_key": "",
|
|
"base_url": "http://localhost:11434",
|
|
"model": "gemma4:31b",
|
|
"max_token_k": "<input:请输入模型最大token大小(K)>"
|
|
},
|
|
"openai": {
|
|
"api_key": "your-api-key-here",
|
|
"base_url": "https://api.deepseek.com/v1",
|
|
"model": "deepseek-chat"
|
|
}
|
|
}
|
|
},
|
|
"system": {
|
|
"default_engine": "ollama",
|
|
"max_history": 50
|
|
}
|
|
}
|