mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-26 04:39:53 +01:00
Update AgentServiceImpl.java
This commit is contained in:
parent
fac1c4db7b
commit
98df2e5486
1 changed files with 3 additions and 0 deletions
|
|
@ -213,6 +213,9 @@ public class AgentServiceImpl extends BaseServiceImpl<AgentDao, AgentEntity> imp
|
||||||
if (dto.getLlmModelId() != null) {
|
if (dto.getLlmModelId() != null) {
|
||||||
existingEntity.setLlmModelId(dto.getLlmModelId());
|
existingEntity.setLlmModelId(dto.getLlmModelId());
|
||||||
}
|
}
|
||||||
|
if (dto.getVllmModelId() != null) {
|
||||||
|
existingEntity.setVllmModelId(dto.getVllmModelId());
|
||||||
|
}
|
||||||
if (dto.getTtsModelId() != null) {
|
if (dto.getTtsModelId() != null) {
|
||||||
existingEntity.setTtsModelId(dto.getTtsModelId());
|
existingEntity.setTtsModelId(dto.getTtsModelId());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue