32 Commits

Author SHA1 Message Date
21d8546486 🔧 fix(constants/prompts): update "at" field to use -1 instead of false for message structure consistency
🔧 fix(lib/responseHandler): standardize "at" field default value to -1 for message processing

🔧 fix(apps/ai): adjust message quoting to clarify sender in response formatting and update "at" field to -1
2025-11-26 18:24:48 +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
be1d756e1e 🔧 fix(prompts): update quote parameter to -1 for message types
🔧 fix(responseHandler): set quote default to -1 for message processing
🔧 fix(message): adjust message handling to use seq for quotes in group messages
🔧 fix(ai): include message_id in formatted returnMessage for better tracking
2025-11-24 17:29:14 +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
134f068bec 🔧 fix(prompts): change recall from number to boolean for message structure
🔧 fix(responseHandler): update recall from number to boolean for message processing

🔧 fix(ai): modify recall from number to boolean in AI message handling
2025-11-24 13:54:07 +08:00
7619b01000 📝 refactor(prompts.js): Remove unused recall functionality and clean up response handler logic
🧹 chore(responseHandler.js): Simplify message type handling by eliminating deprecated recall case
🚧 cleanup(ai.js): Delete obsolete recall message handling function and related case statements
2025-11-24 13:43:37 +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
3f7f682f7d fix(ai) 细节优化 2025-11-09 01:29:34 +08:00
9f2c0c3fd5 fix(ai): fix typo 2025-11-08 17:32:01 +08:00
4fffa2d6cf fix(ai): 修正配置项中昵称属性名错误 2025-11-08 17:13:46 +08:00
01fe6c183c fix: 修复错误响应中的昵称替换逻辑 2025-11-07 13:23:37 +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
63b801730d fix: 修正响应格式错误和默认错误消息 2025-10-28 21:26:34 +08:00
c4060f535f fix(aiCaller): 修正参数传递和时间格式问题 2025-10-26 00:32:26 +08:00
0947bff85a feat:more 2025-10-24 21:10:42 +08:00
9487ffd184 fix:优化markdown截图 2025-10-22 21:45:49 +08:00
75b6d1a348 fix:memory 2025-10-22 13:49:44 +08:00
b832af2063 feat:优化截图 2025-10-19 02:16:56 +08:00
88d9e6ddf9 feat:优化截图 2025-10-19 00:45:14 +08:00
064d05500a feat:优化细节 2025-10-19 00:07:00 +08:00
7b5508b331 feat:细节优化 2025-10-18 19:03:59 +08:00
b084c71dea feat:完善ai功能 2025-10-18 17:30:49 +08:00
1c3ce32678 feat:优化提示词 2025-10-18 11:10:25 +08:00
356233263c feat:优化会话管理 2025-10-18 10:03:34 +08:00
92bfe8087c feat:完善关键词匹配模式 2025-10-18 00:00:08 +08:00
93aae10411 feat:完善ai 2025-10-17 23:20:03 +08:00