refactor: 移除所有非ollama引擎,新增OpenAI兼容格式引擎

- 删除: mimo_engine, GLM_http_engine, qwq_engine, xfyun_spark_engine, iflow_api_engine, maas_http_engine, SDK_openAI
- 保留: ollama_engine (本地Ollama引擎)
- 新增: openai_engine (通用OpenAI API兼容引擎,支持DeepSeek/Grok/硅基流动/vLLM等)
- 新增: config.json.example 配置模板
- 更新: README.md / README.en.md 引擎说明
This commit is contained in:
xiaoli-cli committed 2026-04-26 05:27:40 +08:00
1 parent 7c02642982
commit ea534c5b88
11 files changed
+374 -2023

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
{
"api": {
"engines": {
"ollama": {
"api_key": "",
"base_url": "http://localhost:11434",
"model": "qwen2.5:latest"
},
"openai": {
"api_key": "your-api-key-here",
"base_url": "https://api.deepseek.com/v1",
"model": "deepseek-chat"
}
}
},
"system": {
"default_engine": "ollama",
"max_history": 50
}
}