TASK:LLM;

This commit is contained in:
shahaibo
2025-05-21 21:04:28 +08:00
parent 94e00459b6
commit 93fe0781b2

View File

@@ -92,7 +92,7 @@ public class LLMServiceImpl implements LLMService {
jsonBodyObject.put("file", !StringUtils.isEmpty(fileUrl) ? Collections.singletonList(fileUrl) : new ArrayList<>()); jsonBodyObject.put("file", !StringUtils.isEmpty(fileUrl) ? Collections.singletonList(fileUrl) : new ArrayList<>());
jsonBodyObject.put("message", prompt); jsonBodyObject.put("message", prompt);
jsonBodyObject.put("enable_thinking", enableThinking); jsonBodyObject.put("enable_thinking", enableThinking);
// jsonBodyObject.put("process", process); jsonBodyObject.put("process", !StringUtils.isEmpty(process) ? process : "");
// 1. 存储用户输入 // 1. 存储用户输入
ChatMessage userMessage = new ChatMessage(); ChatMessage userMessage = new ChatMessage();