From 93fe0781b23492c8a5d6838d35ff2ce6b3f3c7df Mon Sep 17 00:00:00 2001 From: shahaibo <1023316923@qq.com> Date: Wed, 21 May 2025 21:04:28 +0800 Subject: [PATCH] =?UTF-8?q?TASK:LLM=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/ai/da/service/impl/LLMServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 68fd76fc..72d973bc 100644 --- a/src/main/java/com/ai/da/service/impl/LLMServiceImpl.java +++ b/src/main/java/com/ai/da/service/impl/LLMServiceImpl.java @@ -92,7 +92,7 @@ public class LLMServiceImpl implements LLMService { jsonBodyObject.put("file", !StringUtils.isEmpty(fileUrl) ? Collections.singletonList(fileUrl) : new ArrayList<>()); jsonBodyObject.put("message", prompt); jsonBodyObject.put("enable_thinking", enableThinking); -// jsonBodyObject.put("process", process); + jsonBodyObject.put("process", !StringUtils.isEmpty(process) ? process : ""); // 1. 存储用户输入 ChatMessage userMessage = new ChatMessage();