Commit Graph

6117 Commits

Author SHA1 Message Date
tcmofashi
2e562b0971 fix: 修复相同图片不同类型的重复hash问题,修复@全体 2025-03-13 12:56:53 +08:00
HYY
48b1953e7e fix:修复无法接收At全体消息问题 2025-03-13 12:00:34 +08:00
MuWinds
554380415b Fix:推理gui报ImportError 2025-03-13 10:55:44 +08:00
Cindy-Master
f1e38e8b13 fix: ban_user_id在回复的情况下可能被绕过 2025-03-13 09:32:33 +08:00
ChangingSelf
4782e1a1bd Merge branch 'debug' of github.com:ChangingSelf/MaiMBot into debug 2025-03-13 06:44:05 +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
tcmofashi
2d7da8cd70 fix: 修复表情包重复保存 2025-03-13 00:46:50 +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
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
62810c7bc7 chore:logger替换print 2025-03-12 22:01:35 +08:00
HYY
8ee53fb312 fix:修复一处小bug,并且把print改为logger,减少review血压 2025-03-12 22:01:05 +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
晴猫
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
Pocketfans
e50c73932b 降低之前回复的速度 2025-03-12 18:27:04 +08:00
Pocketfans
144475d2f4 让回复意愿更加拟人,增加高低回复意愿周期,且增加了一个简单的追问回复功能 2025-03-12 17:57:50 +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
26ed7f54d3 遵循s指导 2025-03-12 10:59:34 +08:00
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