xiaozhi-esp32-server/main/xiaozhi-server
zhenglieAllen c74a6aaa68
fix(config): 修正 XunfeiSparkLLM 的 base_url 误填成火山方舟地址 (#3546)
现象:把 selected_module.VLLM 设为 XunfeiSparkLLM 后,视觉理解请求全部失败
(鉴权失败或 404),而且讯飞的 api_key 会被发到火山引擎。

原因:config.yaml 里 VLLM.XunfeiSparkLLM.base_url 填的是
https://ark.cn-beijing.volces.com/api/v3 —— 那是上面 LLM.DoubaoLLM 的火山
方舟地址,疑似复制粘贴时带串了。core/providers/vllm/openai.py 取端点时
base_url 优先于 url,所以这个值会直接生效;配套的 model_name: lite 是讯飞
的模型名,在火山方舟上并不存在。

改法:base_url 改成讯飞星火官方 OpenAI 兼容端点
https://spark-api-open.xf-yun.com/v1,并在注释里写明端点与模型名的出处。

测试:新增 tests/config/test_provider_endpoints.py,用一张「provider ->
端点主机名」对照表把这类串台钉死。修复前该用例失败,修复后通过。

Co-authored-by: Allen <zljtx2008@gmail.com>
2026-11-13 16:51:00 +08:00
..
config Bump to 0.9.8 (#3469) 2026-10-23 18:54:05 +08:00
core fix(tts): 流式 TTS 会话延迟到首个有效文本开启,修复慢 LLM 场景合成结果为空 2026-11-13 10:10:20 +08:00
models 重新划分目录 (#214) 2025-03-05 23:13:24 +08:00
music 重新划分目录 (#214) 2025-03-05 23:13:24 +08:00
performance_tester 性能测试跳过未配置的Linkerai语音合成 (#3510) 2026-10-27 15:35:38 +08:00
plugins_func Merge pull request #3545 from xinnan-tech/py-ha-state 2026-11-09 14:43:00 +08:00
tests fix(config): 修正 XunfeiSparkLLM 的 base_url 误填成火山方舟地址 (#3546) 2026-11-13 16:51:00 +08:00
agent-base-prompt.txt fix: 2026-07-08 16:14:10 +08:00
app.py hello 握手并发与缓存 2026-10-14 23:05:12 +08:00
config.yaml fix(config): 修正 XunfeiSparkLLM 的 base_url 误填成火山方舟地址 (#3546) 2026-11-13 16:51:00 +08:00
config_from_api.yaml fix:修复全模块时缺少prompt_template配置的问题 2025-10-31 20:36:55 +08:00
docker-compose.yml fix: 设备最后连接时间返回 UTC 时间戳,修复时区显示问题 2026-05-27 17:35:10 +08:00
docker-compose_all.yml update:增加ragflow部署教程 2025-11-11 18:47:25 +08:00
mcp_server_settings.json update:服务端MCP新增支持Streamable HTTP传输协议 2025-10-29 23:14:42 +08:00
performance_tester.py 补齐五份 README 的供应器清单和音频测试工具用法 (#3491) 2026-10-26 22:26:15 +08:00
pyproject.toml 配 pytest 与 conftest,修模块路径 2026-09-02 22:24:35 +08:00
requirements.txt Merge branch 'perf/hello-handshake-fast' of https://github.com/xinnan-tech/xiaozhi-esp32-server into perf/hello-handshake-fast 2026-10-26 17:04:54 +08:00