218 Commits

Author SHA1 Message Date
devil233
b86743f885
fix RSSpush and add listFeeds functionality
详见注释
2025-11-26 22:44:55 +08:00
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
4e440aaae7 🐛 fix(apps/ai.js): correct display text assignment to use message.text instead of msg.text 2025-11-26 15:03:11 +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
c82f3e9cb7 🚀 feat(config): enable auto-update option for the crystelf-plugin in the configuration file.
🎉 feat(index): implement automatic update checks based on the config setting in the plugin initialization.
2025-11-25 12:55:38 +08:00
56d4ac06c4 📝 chore(prompts): update guidelines for message formatting and user context handling in AI prompts 2025-11-25 12:46:45 +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
7970f14f23 🛠️ fix(apps/ai.js): improve message formatting for replies and quoted messages in chat history 2025-11-24 16:19:28 +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
f59dffbf37 🔧 fix(apps/ai.js): correct keyword matching to use event message instead of user message 2025-11-24 13:45:05 +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
f0bd88eed3 🐛 fix(apps/ai.js): improve message extraction by adding checks for non-empty user messages 2025-11-24 13:33:34 +08:00
2a43f40b5f fix(ui): adjust image URL check condition 2025-11-14 07:30:22 +08:00
f171a534a9 fix(ai): correct image URL check and remove unused like message handler 2025-11-13 21:44:42 +08:00
976e054e93 refactor(ai): 不再支持ollama及流式输出 2025-11-13 16:28:35 +08:00
d4849832a1 refactor: 删除午安相关逻辑 2025-11-12 13:48:16 +08:00
907fb6fa37 fix: 移除戳一戳和错误处理提示词 2025-11-12 13:47:47 +08:00
8698e9db98 refactor: 移除不必要的预设消息标记和适配器获取逻辑 2025-11-11 13:07:52 +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
a275763d4a fix(plugins/crystelf-plugin): 修复日志记录和消息处理逻辑 2025-11-09 01:47:54 +08:00
3f7f682f7d fix(ai) 细节优化 2025-11-09 01:29:34 +08:00
faad52d425 fix(ai) 空消息不回复 2025-11-09 01:27:49 +08:00
fdfe84b142 style(log) 增强日志输出 2025-11-08 22:21:18 +08:00
03560fd08f fix(ai): 修正消息类型判断逻辑 2025-11-08 18:03:59 +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
7629e7134e fix(ai): 修改at消息处理逻辑并优化戳一戳消息处理 resolves #3 2025-11-08 17:13:45 +08:00
01fe6c183c fix: 修复错误响应中的昵称替换逻辑 2025-11-07 13:23:37 +08:00
97caa74d93 fix(poke): 主人戳机器人时不执行戳动作 resolves #2 2025-11-05 18:35:31 +08:00
883233b443 style(api): 注释掉调试日志 2025-11-03 13:37:04 +08:00
d7e5322f94 refactor: 移除不必要的response_format配置 2025-11-03 13:36:45 +08:00
1abf299a2d fix(ai): 修复空消息导致的格式问题 2025-10-30 13:44:14 +08:00
e0aa49bcea docs: 增加对主人角色的严格说明和记忆规则细化 2025-10-30 13:33:13 +08:00
145a352f01 fix(core): 修正仅@机器人但无文本时返回空数组的逻辑 2025-10-29 21:27:23 +08:00
a9a494ddc1 fix(ai): 修正字符串匹配失败和回复逻辑 2025-10-29 21:17:10 +08:00
d72db21461 feat: 引入会话管理器并处理调用失败时的会话状态 2025-10-29 18:42:24 +08:00
bef44e65c9 fix(ai): 修复AI处理逻辑并添加默认回复 2025-10-29 18:42:18 +08:00
414fe08f45 fix: AI调用失败时停用用户会话 2025-10-29 13:53:22 +08:00
6c726f242f fix(aiCaller, prompts): 移除当前北京时间的显示并修正错误日志信息 2025-10-29 13:43:21 +08:00
fa0f3ceb4e fix(core): 在错误处理中添加adapter获取逻辑 2025-10-28 21:55:32 +08:00
63b801730d fix: 修正响应格式错误和默认错误消息 2025-10-28 21:26:34 +08:00
e2255e6901 Merge remote-tracking branch 'origin/main'
# Conflicts:
#	modules/openai/openaiChat.js
2025-10-27 18:13:35 +08:00
65c0a3fe2e style(openaiChat.js): 注释掉调试日志 2025-10-27 18:12:21 +08:00
1e3efeda41 style: 修改README.md中的格式调整图片显示方式 2025-10-26 10:58:17 +08:00
67d3c9b942 docs: 更新README文档并添加详细功能描述 2025-10-26 10:54:58 +08:00
70c7edb9f2 fix(60s): 修正图片编码参数及更新API地址 2025-10-26 10:08:02 +08:00