Commit Graph

376 Commits (44899527774cf350acacfeddac2bd950e97fd30c)

Author SHA1 Message Date
HYY 25ecfcecc0 修补 2025-03-12 10:42:48 +08:00
HYY1116 d106260d93 小修补 2025-03-12 09:58:10 +08:00
HYY1116 1840599156 fix: 尝试修复所有图片都被保存为jpg的问题,并以正确的格式请求识图api 2025-03-12 09:53:01 +08:00
Pliosauroidea e9f3ec89d5 给cq_code加个import os 2025-03-12 08:28:00 +08:00
Pliosauroidea 27be42b8f0 修正willing_manager内因为代码合并导致的冗余,去除几个print 2025-03-12 08:25:55 +08:00
tcmofashi fd40c05bf4 Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 08:25:42 +08:00
Pliosauroidea 0c26d9b412 Merge branch 'debug' of https://github.com/Pliosauroidea/MaiMBot into debug 2025-03-12 08:14:15 +08:00
tcmofashi b934d473ab
Merge pull request #192 from Naptie/contrib
refactor: 截断过长的在日志中展示的消息
2025-03-12 08:01:22 +08:00
Pliosauroidea 126c9af70e 修复火山部分流式输出没有finish_reason导致的报错 2025-03-12 07:58:27 +08:00
Pliosauroidea 90d169f740 将价格print改为对应的logger输出 2025-03-12 07:44:57 +08:00
AL76 732485147c
Merge pull request #237 from Rikki-Zero/debug
refactor: 修复database单例多次初始化的问题,改变instance默认返回实例的类型,缩短db相关函数调用时的object名
2025-03-12 02:48:00 +08:00
SengokuCola 7274573736 记忆和遗忘的可自定义 2025-03-12 01:32:20 +08:00
Naptie 0cc8087918
Merge branch 'debug' of github.com:SengokuCola/MaiMBot into contrib 2025-03-12 01:01:03 +08:00
Rikki 2ae756ee6e
Merge branch 'SengokuCola:debug' into debug 2025-03-12 00:58:29 +08:00
SengokuCola 443878b5c4 修复记忆库冒烟 2025-03-12 00:56:54 +08:00
Rikki bcb3f09c65 Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 00:54:49 +08:00
Rikki 39018440d7 refactor: 修复database单例多次初始化的问题,改变instance默认返回实例的类型,缩短db相关函数调用时的object名 2025-03-12 00:52:07 +08:00
SengokuCola d524409c18
Merge branch 'debug' into debug 2025-03-12 00:29:59 +08:00
Naptie 98b30e38a1
Merge branch 'debug' of github.com:SengokuCola/MaiMBot into contrib 2025-03-12 00:27:30 +08:00
SengokuCola 40f3055caf
Merge branch 'debug' into main 2025-03-12 00:20:54 +08:00
Naptie 4de04df0b7
Merge branch 'debug' of github.com:SengokuCola/MaiMBot into contrib 2025-03-11 23:50:27 +08:00
SengokuCola ed18f2e96d 新增了知识库一键启动漂亮脚本 2025-03-11 23:46:49 +08:00
Naptie 4f72b22462
Merge branch 'debug' of github.com:SengokuCola/MaiMBot into contrib 2025-03-11 23:45:56 +08:00
UnCLAS-Prommer c681a827f1 修复小名无效问题 2025-03-11 23:21:57 +08:00
Pliosauroidea 390b2d81d7
Merge branch 'SengokuCola:debug' into debug 2025-03-11 23:01:31 +08:00
ChangingSelf 8c346377cb 提高健壮性 2025-03-11 22:58:07 +08:00
Naptie 0a55ccb253
refactor: truncate messages for console logging 2025-03-11 22:57:29 +08:00
Naptie 28fd1c8a8e
refactor(message_sender): log format consistency 2025-03-11 22:53:47 +08:00
Naptie fd19b0d601
feat(utils): truncate_message 2025-03-11 22:51:49 +08:00
ChangingSelf 2688a96986 close SengokuCola/MaiMBot#225 让麦麦可以正确读取分享卡片 2025-03-11 22:47:23 +08:00
Pliosauroidea cd16e68223 修复表情包发送时的缺失参数 2025-03-11 22:47:20 +08:00
Pliosauroidea 3c8c8977e6 屏蔽一个臃肿的debug信息 2025-03-11 22:11:10 +08:00
Pliosauroidea 9d0152a2b2 修复了合并过程中造成的代码重复 2025-03-11 21:41:36 +08:00
Pliosauroidea 956135cad9 添加一些注释 2025-03-11 21:23:07 +08:00
Pliosauroidea a41274156b 将print变为logger.debug 2025-03-11 21:14:32 +08:00
Pliosauroidea 3180426727 修复了没有改掉的typo字段 2025-03-11 21:08:19 +08:00
Pliosauroidea aea3bffd99 添加私聊过滤开关,更新config,增加约束 2025-03-11 20:55:54 +08:00
Pliosauroidea 912432cf49 Merge branch 'debug' of https://github.com/Pliosauroidea/MaiMBot into debug 2025-03-11 20:50:03 +08:00
Ikko Eltociear Ashimine cda6281cc6
chore: update emoji_manager.py
discription -> description
2025-03-11 21:49:18 +09:00
Pliosauroidea baed8560fb 修正了私聊屏蔽词输出 2025-03-11 20:48:11 +08:00
Pliosauroidea 5aeafca756 Merge branch 'debug' of https://github.com/Pliosauroidea/MaiMBot into debug 2025-03-11 20:45:12 +08:00
tcmofashi 6b11b6ef29 fix: 一些from disct 2025-03-11 20:41:03 +08:00
Pliosauroidea 66a0f18e69 修复了私聊时产生reply消息的bug 2025-03-11 20:38:14 +08:00
HYY1116 3bf5cd6131 feat: 新增运行时重载配置文件;新增根据不同环境(dev;prod)显示不同级别的log 2025-03-11 20:11:17 +08:00
Pliosauroidea 33cd83b895 添加私聊功能 2025-03-11 20:01:38 +08:00
tcmofashi b19902919e Merge remote-tracking branch 'upstream/debug' into refractor 2025-03-11 19:51:03 +08:00
tcmofashi aa41f0d1d8 fix: 放反了 2025-03-11 19:47:09 +08:00
tcmofashi bd64e72f55
Merge pull request #213 from Pliosauroidea/debug
bugfix&feat: 添加logger.debug输出开关,调整env文件生成逻辑
2025-03-11 19:45:06 +08:00
tcmofashi 1e6f0062d2
Merge pull request #211 from pineoncellar/debug
fix: 流式输出模式增加结束判断与token用量记录(#199)
2025-03-11 19:43:23 +08:00
tcmofashi 2673d97cd3
Merge pull request #208 from EightOrange/debug
fix: 添加群信息获取的错误处理 (#173)
2025-03-11 19:41:27 +08:00
tcmofashi ef8691cd9e fix: 修改message继承逻辑,修复回复消息无法识别 2025-03-11 19:30:20 +08:00
HYY1116 7d017be9f7 fix:模型降级 2025-03-11 19:23:48 +08:00
八分橘子 e1019ade3c fix: 修复变量拼写错误并优化代码可读性 2025-03-11 18:52:32 +08:00
pine c24bb70291 fix: 流式输出模式增加结束判断与token用量记录 2025-03-11 18:51:28 +08:00
Pliosauroidea 60a93766c7 添加logger的debug输出开关,默认为不开启 2025-03-11 18:42:35 +08:00
八分橘子 bfa9a3c026 fix: 添加群信息获取的错误处理 (#173) 2025-03-11 18:40:03 +08:00
HYY1116 2e3411f103 Merge branch 'debug' of https://github.com/SengokuCola/MaiMBot into debug 2025-03-11 18:21:57 +08:00
HYY1116 dea14c1d8a fix: 模型降级目前只对硅基流动的V3和R1生效 2025-03-11 18:21:46 +08:00
tcmofashi b6edbea96c fix: 图片保存路径不正确 2025-03-11 18:17:29 +08:00
tcmofashi cb79d09ee4 Merge remote-tracking branch 'rikki/tc_merge' into refractor 2025-03-11 17:00:29 +08:00
tcmofashi 01a6fa80ae fix: 删除神秘test 2025-03-11 16:59:19 +08:00
SengokuCola af962c2e84 修复了情绪管理器没有正确导入导致发布出消息
1
2025-03-11 16:50:40 +08:00
tcmofashi 14fbbc593a Merge remote-tracking branch 'upstream/debug' into refractor 2025-03-11 16:45:41 +08:00
tcmofashi 5760412382 fix: 小修 2025-03-11 16:32:35 +08:00
tcmofashi 1c9b0ccbe3 fix: 修复部分cq码解析错误,merge 2025-03-11 16:16:00 +08:00
春河晴 b6867b904d
fix: 统一使用os.getenv获取数据库连接信息,避免从config对象获取不存在的值时出现KeyError 2025-03-11 17:07:37 +09:00
晴猫 3765c79e3a
Merge branch 'debug' into debug 2025-03-11 13:47:43 +09:00
SengokuCola 5e069f74e2 修复记忆保存时无时间信息的bug 2025-03-11 12:06:01 +08:00
SengokuCola 450f378791
Merge pull request #186 from Naptie/contrib
refactor: 使用 Base64 编码的表情包 CQ 码
2025-03-11 11:47:08 +08:00
SengokuCola e46214bd1c
Merge pull request #176 from BBleae/patch-5
fix: 更新情感判断模型配置(使配置文件里的 llm_emotion_judge 生效)
2025-03-11 11:26:40 +08:00
SengokuCola 73a3e41e47 修复记忆更新bug 2025-03-11 11:11:36 +08:00
Naptie 52c93ba080
refactor: use Base64 for emoji CQ codes 2025-03-11 10:16:04 +08:00
Rikki 67f6d7cd42 fix: 保证能运行的小修改 2025-03-11 06:54:04 +08:00
Rikki 0cf4ff0a4d Merge remote-tracking branch 'upstream/debug' into tc_refractor 2025-03-11 06:01:54 +08:00
Rikki c32c4fb1e2 refactor: 修改配置文件的版本号 2025-03-11 05:06:58 +08:00
Rikki a54ca8ce18 Merge remote-tracking branch 'upstream/debug' into feat_regix 2025-03-11 05:05:07 +08:00
tcmofashi 8cbf9bb048 feat: 史上最好的消息流重构和图片管理 2025-03-11 04:42:24 +08:00
晴猫 a63ce969c7
fix: 更新情感判断模型配置(使配置文件里的 llm_emotion_judge 生效) 2025-03-11 02:38:23 +09:00
SengokuCola 7b35ddd07f ruff 哥又有新点子 2025-03-11 01:19:56 +08:00
tcmofashi 7899e67cb2 feat: 重构完成开始测试debug 2025-03-11 01:15:32 +08:00
SengokuCola 354d6d0deb 记忆系统优化
优化了记忆的连接建立
重启了遗忘功能
2025-03-11 01:13:17 +08:00
ChangingSelf 84495f8329 fix 2025-03-11 00:20:55 +08:00
ChangingSelf 204744cd71 修改配置名与修改过滤对象为raw_message 2025-03-11 00:12:19 +08:00
HYY 3750ebd15b
Merge branch 'debug' into debug 2025-03-10 23:11:36 +08:00
ChangingSelf 1b611ecce5 resolve SengokuCola/MaiMBot#167 根据正则表达式过滤消息 2025-03-10 22:52:14 +08:00
tcmofashi 20b8778e2b Merge branch 'refractor' of https://github.com/tcmofashi/MaiMBot into refractor 2025-03-10 21:01:06 +08:00
tcmofashi 6e2ea8261b refractor: 几乎写完了,进入测试阶段 2025-03-10 20:59:41 +08:00
Naptie e68040515a
fix: typo 'discription' 2025-03-10 20:43:17 +08:00
Rikki 0959b89630
Merge branch 'SengokuCola:debug' into debug 2025-03-10 20:16:28 +08:00
春河晴 ed505a4c11
fix: 使用动态路径替换硬编码的项目路径
将内存系统相关文件中硬编码的项目路径(C:/GitHub/MaiMBot)替换为动态计算的相对路径,
提高代码的可移植性和兼容性。

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-10 15:51:39 +09:00
春河晴 4baa6c6f0a
feat: 实现MongoDB URI方式连接,并统一数据库连接代码。 2025-03-10 14:48:43 +09:00
AL76 8a32d18460 feat: 优化willing_manager逻辑,增加回复保底概率 2025-03-10 13:09:01 +08:00
AL76 a43f9495ea fix: remove duplicate message(CR comments) 2025-03-10 11:46:59 +08:00
Rikki fddb64151e fix: 修复错误的空值检测逻辑 2025-03-10 04:56:40 +08:00
AL76 2f2be5b3ad
Merge branch 'debug' into fix/20250310-logger-optimize 2025-03-10 02:29:34 +08:00
AL76 052e67b576 refactor: 日志打印优化(终于改完了,爽了 2025-03-10 02:25:03 +08:00
SengokuCola 5c7881133e
Merge pull request #153 from BBleae/patch-3
fix: 更新情感判断模型配置(使配置文件里的 llm_emotion_judge 生效)
2025-03-10 01:43:04 +08:00
SengokuCola a7f9d05c01 修复记忆整理传入格式问题 2025-03-10 01:40:06 +08:00
晴猫 536bb1d923
fix: 更新情感判断模型配置 2025-03-10 02:26:13 +09:00
AL76 8d99592b32 fix: logger初始化顺序 2025-03-10 01:15:31 +08:00