mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-23 03:19:41 +00:00
fix(manager-api): 修复getConfig方法未传递LLM/TTS等模型ID的bug
问题描述: 在ConfigServiceImpl.getConfig()方法中,调用buildModuleConfig时只传递了VAD和ASR的模型ID, 而LLM、TTS、Memory、Intent、VLLM、SLM等模型ID都传的是null,导致/config/server-base接口 返回的配置中缺少这些模型的配置信息。 影响范围: - 使用/config/server-base接口获取配置的场景 - 性能测试工具performance_tester.py无法测试LLM和TTS模型 修复方案: 将agent.getLlmModelId()、agent.getTtsModelId()等正确传递给buildModuleConfig方法
This commit is contained in:
parent
fb7e2e17a8
commit
823dfb40a7
1 changed files with 6 additions and 6 deletions
|
|
@ -98,12 +98,12 @@ public class ConfigServiceImpl implements ConfigService {
|
|||
null,
|
||||
agent.getVadModelId(),
|
||||
agent.getAsrModelId(),
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
agent.getLlmModelId(),
|
||||
agent.getVllmModelId(),
|
||||
agent.getSlmModelId(),
|
||||
agent.getTtsModelId(),
|
||||
agent.getMemModelId(),
|
||||
agent.getIntentModelId(),
|
||||
null,
|
||||
result,
|
||||
isCache);
|
||||
|
|
|
|||
Loading…
Reference in a new issue