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,
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);