diff --git a/src/main/java/com/ai/da/service/impl/LLMServiceImpl.java b/src/main/java/com/ai/da/service/impl/LLMServiceImpl.java index 7886d282..9f11b7ea 100644 --- a/src/main/java/com/ai/da/service/impl/LLMServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/LLMServiceImpl.java @@ -300,8 +300,10 @@ public class LLMServiceImpl implements LLMService { if ("text".equals(type) || "think".equals(type)) { if (StringUtils.isEmpty(contentType) || !contentType.equals(type)) { if ("text".equals(type)) { + contentType = "text"; responseContentBuilder.append("[TEXT]"); }else { + contentType = "think"; responseContentBuilder.append("[THINK]"); } // systemMessage.setSeq(getNextSeq(projectId));