Merge branch 'main' into feature/add-fun-asr-auth

This commit is contained in:
whosmyqueen
2025-05-12 13:10:27 +08:00
23 changed files with 369 additions and 69 deletions
@@ -257,7 +257,8 @@ public class ConfigServiceImpl implements ConfigService {
if (intentLLMModelId != null && intentLLMModelId.equals(llmModelId)) {
intentLLMModelId = null;
}
} else if ("function_call".equals(map.get("type"))) {
}
if (map.get("functions") != null) {
String functionStr = (String) map.get("functions");
if (StringUtils.isNotBlank(functionStr)) {
String[] functions = functionStr.split("\\;");