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:
Predevil 2026-05-15 22:18:11 +08:00
parent fb7e2e17a8
commit 823dfb40a7

View file

@ -98,12 +98,12 @@ public class ConfigServiceImpl implements ConfigService {
null, null,
agent.getVadModelId(), agent.getVadModelId(),
agent.getAsrModelId(), agent.getAsrModelId(),
null, agent.getLlmModelId(),
null, agent.getVllmModelId(),
null, agent.getSlmModelId(),
null, agent.getTtsModelId(),
null, agent.getMemModelId(),
null, agent.getIntentModelId(),
null, null,
result, result,
isCache); isCache);