From d6bd24865ebc58aff300c124ad18db61020de887 Mon Sep 17 00:00:00 2001 From: shahaibo <1023316923@qq.com> Date: Mon, 9 Jun 2025 13:41:02 +0800 Subject: [PATCH] TASK:cloud; --- src/main/java/com/ai/da/service/impl/LLMServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) 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));