优化CozeAPI调用记录保存逻辑
- 修复CozeApiCall记录中createBy和updateBy字段未正确设置的问题 - 修复messageId字段未保存的问题 - 重构AiChatServiceImpl,在用户消息创建后再创建API调用记录 - 添加updateApiCallFailure方法处理失败情况 - 提取executeCozeApiCall公共方法减少代码重复 - 确保所有API调用记录都正确保存创建人和更新人信息 - 优化前端聊天记录功能,修复API调用问题 - 重构WebSocketService为接口+实现类模式 - 移除Controller层违反规则的try-catch异常处理 - 优化前端聊天界面自动滚动功能
This commit is contained in:
Generated
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user