feat: 更新前端多个页面和后端服务
- 前端: 更新AI营养师、计算器、打卡、食物详情等页面 - 前端: 更新食物百科、知识详情、营养知识页面 - 前端: 更新社区首页 - 后端: 更新ToolKieAIServiceImpl服务 - API: 更新models-api.js和user.js
This commit is contained in:
@@ -390,6 +390,7 @@ public class ToolKieAIServiceImpl implements ToolKieAIService {
|
||||
return emitter;
|
||||
}
|
||||
|
||||
/** BUG-005: 仅使用 request.getMessages() 透传用户/助手消息,不注入硬编码 prompt */
|
||||
private Map<String, Object> buildGeminiRequestBody(KieAIGeminiChatRequest request, boolean stream) {
|
||||
Map<String, Object> body = new HashMap<>();
|
||||
List<Map<String, Object>> messagesOut = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user