mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 12:37:55 +00:00
fix:重启服务后存在多个闲聊助手 (#1928)
This commit is contained in:
@@ -49,6 +49,6 @@ public class S2SmallTalkDemo extends S2BaseDemo {
|
||||
boolean checkNeedToRun() {
|
||||
List<String> agentNames =
|
||||
agentService.getAgents().stream().map(Agent::getName).collect(Collectors.toList());
|
||||
return !agentNames.contains("来闲聊");
|
||||
return !agentNames.contains("闲聊助手");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user