TASK:LLM;
This commit is contained in:
@@ -89,7 +89,7 @@ public class LLMServiceImpl implements LLMService {
|
||||
jsonBodyObject.put("role", "user");
|
||||
jsonBodyObject.put("image", !CollectionUtils.isEmpty(imageUrlList) ? imageUrlList : null); // 可扩展
|
||||
// jsonBodyObject.put("image", ""); // 可扩展
|
||||
jsonBodyObject.put("file", fileUrl != null ? Collections.singletonList(fileUrl) : null);
|
||||
jsonBodyObject.put("file", !StringUtils.isEmpty(fileUrl) ? Collections.singletonList(fileUrl) : null);
|
||||
jsonBodyObject.put("message", prompt);
|
||||
jsonBodyObject.put("enable_thinking", enableThinking);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user