16 Commits

Author SHA1 Message Date
875ca65ed9 🚀 fix(openaiChat): simplify messages handling by removing unnecessary checks and defaults
 feat(aiCaller): enhance multimodal messages formatting for better processing of user content

 feat(ai): update image URL references for consistency across message handling
2025-11-30 13:02:22 +08:00
61a9462247 feat(apps/ai.js): enhance message processing to support multimodal inputs and improve user message extraction.
 feat(config/ai.json): add configuration options for multimodal model support.
 feat(lib/ai/aiCaller.js): implement multimodal AI call handling and formatting for diverse message types.
2025-11-30 10:50:12 +08:00
bd6ad16445 feat(ai): add max message length configuration and truncate long messages in chat history display 2025-11-26 13:47:22 +08:00
5c97c9cdf7 🐛 fix(aiCaller): improve message handling for group chat history and mentions with proper looping and name retrieval 2025-11-25 13:47:43 +08:00
f17e9ec0dc 🧹 chore(constants): remove obsolete returnMessages.js file
 feat(aiCaller): improve context intro for better chat history readability

🔄 update(ai.json): adjust chat history length configuration settings
2025-11-25 13:34:25 +08:00
0dd31c9458 feat(aiCaller.js): add method to calculate time difference for memory timestamps in context introduction 2025-11-24 15:57:43 +08:00
976e054e93 refactor(ai): 不再支持ollama及流式输出 2025-11-13 16:28:35 +08:00
0d514b04f1 feat(ai-call): 让ai知道日期时间 2025-11-09 10:58:03 +08:00
26a76e8ca0 refactor(memory): 优化系统提示词构建 2025-11-09 01:48:40 +08:00
e0aa49bcea docs: 增加对主人角色的严格说明和记忆规则细化 2025-10-30 13:33:13 +08:00
d72db21461 feat: 引入会话管理器并处理调用失败时的会话状态 2025-10-29 18:42:24 +08:00
6c726f242f fix(aiCaller, prompts): 移除当前北京时间的显示并修正错误日志信息 2025-10-29 13:43:21 +08:00
c4060f535f fix(aiCaller): 修正参数传递和时间格式问题 2025-10-26 00:32:26 +08:00
0947bff85a feat:more 2025-10-24 21:10:42 +08:00
1c3ce32678 feat:优化提示词 2025-10-18 11:10:25 +08:00
93aae10411 feat:完善ai 2025-10-17 23:20:03 +08:00