Commit Graph

853 Commits (c1dbdcff18bc76ab14b80c3816f82b773bae2809)

Author SHA1 Message Date
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
Cookie987 5bb8b69fa0
break改为return 2025-03-12 22:55:11 +08:00
Cookie987 5399aca0d3
Update and rename 1key_install_linux.sh to run.sh 2025-03-12 22:46:00 +08:00
Cookie987 1db47d2468
排版 2025-03-12 22:42:22 +08:00
Cookie987 466ce4c45d
feat: Linux一键部署脚本 2025-03-12 22:41:15 +08:00
Cookie987 9b94c8c27e
Update README.md 2025-03-12 22:40:22 +08:00
Cookie987 f62e79523a
feat: Linux 一键安装脚本 2025-03-12 22:38:40 +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
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
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 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
Nestor Qin aecb4ffa35 Fix logger double loading 2025-03-11 20:04:52 -07:00
HYY f7f2c73eeb
fix:修复火山缺少finish_reasoning导致的报错
fix:修复火山缺少finish_reasoning导致的报错
2025-03-12 11:02:48 +08:00
HYY 26ed7f54d3 遵循s指导 2025-03-12 10:59:34 +08:00
HYY 25ecfcecc0 修补 2025-03-12 10:42:48 +08:00
Pliosauroidea 0f292bb7c0 Merge remote-tracking branch 'upstream/debug' into debug 2025-03-12 10:05:11 +08:00
HYY1116 75aeecaeab Merge branch 'debug' of https://github.com/HYY1116/MaiMBot into debug 2025-03-12 09:58:17 +08:00
HYY1116 d106260d93 小修补 2025-03-12 09:58:10 +08:00
HYY 7d44393d59
Merge branch 'SengokuCola:debug' into debug 2025-03-12 09:55:36 +08:00
HYY1116 1840599156 fix: 尝试修复所有图片都被保存为jpg的问题,并以正确的格式请求识图api 2025-03-12 09:53:01 +08:00
tcmofashi 60095307eb
Merge pull request #241 from twds0x13/debug
简易 Q&A 目录,适用于常见问题
2025-03-12 09:42:25 +08:00