Commit Graph

709 Commits

Author SHA1 Message Date
MuWinds
554380415b Fix:推理gui报ImportError 2025-03-13 10:55:44 +08:00
HYY
ab7e304383 Merge pull request #310 from Cindy-Master/debug
fix: ban_user_id在回复的情况下可能被绕过
2025-03-13 09:53:16 +08:00
HYY
41dafdc1e9 Merge pull request #309 from Pliosauroidea/debug
fix:修复错误的environment读取导致的debug输出持续开启
2025-03-13 09:51:09 +08:00
Cindy-Master
f1e38e8b13 fix: ban_user_id在回复的情况下可能被绕过 2025-03-13 09:32:33 +08:00
Pliosauroidea
a2c29efb41 修复错误的envieonment读取导致的debug输出持续开启 2025-03-13 09:27:56 +08:00
憧憬少
47bcd8b2c8 Merge pull request #302 from ChangingSelf/debug
close SengokuCola/MaiMBot#246 添加戳一戳回应功能
2025-03-13 06:56:05 +08:00
ChangingSelf
4782e1a1bd Merge branch 'debug' of github.com:ChangingSelf/MaiMBot into debug 2025-03-13 06:44:05 +08:00
AL76
6aa4104b2d Merge pull request #305 from KX76/debug
恢复ruff设置,剩下的ruff建议留给有缘人改
2025-03-13 03:38:21 +08:00
AL76
2c74a5dfb7 恢复ruff设置 2025-03-13 03:35:54 +08:00
AL76
fc62fcdd55 Merge pull request #304 from KX76/chore/nonebot-log-addtion
Chore/新增本地log日志,优化报错信息(以及一点ruff的重构)
2025-03-13 03:24:48 +08:00
AL76
3b5523d7e2 暂时关掉ruff的checkout@v3 2025-03-13 03:21:54 +08:00
AL76
11e8b2fa5f chore: ruff的修改 2025-03-13 03:18:49 +08:00
AL76
91fceb0d85 Merge remote-tracking branch 'origin/debug' into chore/nonebot-log-addtion 2025-03-13 02:54:57 +08:00
AL76
fe7ef7d731 chore: 用户体验优化(报错信息&log)+ ruff的修改 2025-03-13 02:51:53 +08:00
ChangingSelf
29f0afecfa Merge branch 'debug' of github.com:ChangingSelf/MaiMBot into debug 2025-03-13 01:40:29 +08:00
ChangingSelf
4ffffb3b60 close SengokuCola/MaiMBot#246 添加戳一戳回应功能 2025-03-13 01:38:53 +08:00
晴猫
778991fcbf Merge pull request #300 from SengokuCola/ruff-action-patch-debug
add ruff action to debug branch
2025-03-13 02:24:14 +09:00
晴猫
e7b9e9d20b add ruff action to debug branch 2025-03-13 02:22:50 +09:00
HYY
7360d01a28 Merge pull request #298 from tcmofashi/debug
fix: 修复表情包重复保存
2025-03-13 00:56:05 +08:00
tcmofashi
2d7da8cd70 fix: 修复表情包重复保存 2025-03-13 00:46:50 +08:00
tcmofashi
70243c23c5 Merge pull request #293 from Pliosauroidea/debug
fix:修复message变动引起的私聊错误
2025-03-12 23:35:15 +08:00
Pliosauroidea
d6860bbc1d Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 23:26:52 +08:00
Pliosauroidea
eafc3dea71 修正了message变动导致的私聊error 2025-03-12 23:16:29 +08:00
HYY
d9386317fc fix: 修复缺失hash字段和文件的记录 抛出File not found
fix: 修复缺失hash字段和文件的记录 抛出File not found
2025-03-12 23:12:00 +08:00
HYY
e56796be81 Merge branch 'debug' into debug 2025-03-12 23:11:48 +08:00
HYY
24a3cf3b66 fix:修复了一个hash unset可能导致异常的点 2025-03-12 23:09:53 +08:00
KawaiiYusora
acb59e5d8d fix: 修复缺失hash字段的记录 抛出File not found 2025-03-12 23:07:28 +08:00
HYY
2b6a0b7e4f fix: 修复hash为unset,修复set reply
fix: 修复hash为unset,修复set reply
2025-03-12 22:57:47 +08:00
tcmofashi
3b1fc70e26 fix: 路径完整性检查 2025-03-12 21:51:16 +08:00
tcmofashi
8b3011e15c Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 21:47:53 +08:00
tcmofashi
f8ac3f879d Merge pull request #287 from BBleae/debug
重构database.py为全局对象模式
2025-03-12 21:43:57 +08:00
晴猫
ce12ba655d typo 2025-03-12 22:39:18 +09:00
tcmofashi
588aecd0f3 fix: 为没有hash的表情包添加hash,修复set reply 2025-03-12 21:30:38 +08:00
晴猫
8be087dcad 重构数据库访问,替换为统一的数据库实例引用 2025-03-12 22:27:59 +09:00
晴猫
49082267bb 重构数据库模块实现延迟初始化
- 使用Global Object Pattern设计模式
- 实现数据库连接的延迟初始化
- 添加类型注解支持IDE类型推导
- 确保环境变量在bot.py加载后再连接数据库

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-12 22:27:05 +09:00
tcmofashi
3857642203 Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 20:26:06 +08:00
UnCLAS-Prommer
ae0481ff29 Merge pull request #267 from UnCLAS-Prommer/debug
修正bot.py line 138 变量名错误问题
2025-03-12 17:26:02 +08:00
SengokuCola
38e38cf4a9 Revert "尝试减少不同群内的同义词混淆 以及允许用户设置指定群组记忆私有"
This reverts commit 50c468e519.
2025-03-12 17:25:23 +08:00
UnCLAS-Prommer
6c5f56b23d 修正我修typo产生的typo 2025-03-12 17:18:39 +08:00
tcmofashi
5e60975b2b Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 17:14:49 +08:00
UnCLAS-Prommer
76574bf06b Merge branch 'SengokuCola:debug' into debug 2025-03-12 17:14:13 +08:00
UnCLAS-Prommer
72754a0f2f No More Typo Please 2025-03-12 17:13:37 +08:00
HYY
d4ed38368b Merge pull request #251 from HYY1116/debug
fix: 尝试修复所有图片都被保存为jpg的问题,并以正确的格式请求识图api
2025-03-12 17:05:43 +08:00
Cindy-Master
50c468e519 尝试减少不同群内的同义词混淆 以及允许用户设置指定群组记忆私有
用户设置指定群组记忆私有会导致记忆的语料严重减少  未设置群组记忆私有的记忆会开放对于所有群聊
因此要不就修改其他记忆配置  增强学习/记忆能力  或者增加单一群组的信息流数量  或者增加公开记忆的信息流数量

记忆检索时会按以下优先级返回记忆:
当前群组的记忆(如果群聊属于某个群组)
当前群聊的记忆(如果不属于任何群组)
公共记忆(无群组/群聊标识的记忆)
其他非私有群组的记忆
5. 跨群记忆连接
同一群组内的主题使用较强连接(相似度×10)
跨群组的相似主题使用较弱连接(相似度×5)
相同群组/群聊的相似主题会获得20%的相似度加成
2025-03-12 16:56:12 +08:00
tcmofashi
567a7a86fc Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 16:55:37 +08:00
SengokuCola
23c9211d93 Update utils_image.py 2025-03-12 15:45:24 +08:00
SengokuCola
3a61450642 修复了数据库无法读取记忆和知识的问题,以及图片保存问题 2025-03-12 15:32:25 +08:00
HYY
94c63e456b Merge branch 'SengokuCola:debug' into debug 2025-03-12 11:40:54 +08:00
HYY
aab7fe1c5a feat: 创建日志文件
Add logger file sink and fix logger loading issues
2025-03-12 11:40:13 +08:00
Nestor Qin
8676682e97 Sink logs to logs file 2025-03-11 20:26:02 -07:00