Files
xiaoli-cli/config.json.example
T
xiaoli-cli bot a6f6962184 feat: OpenAI 引擎支持深度思考开关
新增:
- /engine.openai think [on|off|low|medium|high] 命令
- deep_think 配置项 (config.json)
- reasoning_effort 参数 (low/medium/high)

支持模型:
- DeepSeek: enable_thinking + reasoning_content
- OpenAI o-series: reasoning.effort
- 通用: reasoning_effort 参数

深度思考开启后:
- 自动注入思考参数到请求体
- 返回的思维链(reasoning_content)显示在终端
- info 命令显示当前思考状态
2026-06-23 09:37:34 +00:00

23 lines
458 B
JSON

{
"api": {
"engines": {
"ollama": {
"api_key": "",
"base_url": "http://localhost:11434",
"model": "gemma4:31b"
},
"openai": {
"api_key": "your-api-key-here",
"base_url": "https://api.deepseek.com/v1",
"model": "deepseek-chat",
"deep_think": false,
"reasoning_effort": "medium"
}
}
},
"system": {
"default_engine": "ollama",
"max_history": 50
}
}