6239 Commits

Author SHA1 Message Date
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
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