Commit Graph

639 Commits

Author SHA1 Message Date
SengokuCola
7733782929 fix:修复hfc根本不会被触发的bug 2025-04-23 23:08:19 +08:00
SengokuCola
e2d882ec82 fix:拯救大兵ruff 2 2025-04-23 00:43:33 +08:00
SengokuCola
f2c50d2cd4 fix:拯救大兵ruff 2025-04-23 00:42:28 +08:00
SengokuCola
2eecd746af feat:基于不同心流单独的发送器实例,反正能跑,但我也不知道能不能跑
睡觉
2025-04-23 00:41:46 +08:00
SengokuCola
8d50a381e4 fix:更名和小bug修复 2025-04-22 21:59:23 +08:00
SengokuCola
1482133005 fix:更改文件夹结构 2025-04-22 17:02:14 +08:00
SengokuCola
061fd33e2f Merge pull request #817 from Dax233/issue#816
修复麦麦会把所有引用回复都识别为提及的问题
2025-04-22 11:35:29 +08:00
Bakadax
e3271e354b 呜呜~讨厌正则 2025-04-22 11:03:33 +08:00
Bakadax
b1ee98007d Merge branch 'issue#816' of https://github.com/Dax233/MaiMBot into issue#816 2025-04-22 09:34:19 +08:00
Bakadax
062d6d46b7 modified: src/plugins/chat/utils.py 2025-04-22 09:34:10 +08:00
github-actions[bot]
273647f958 🤖 自动格式化代码 [skip ci] 2025-04-22 01:30:21 +00:00
Bakadax
6a21f3408e modified: src/plugins/chat/utils.py 2025-04-22 09:29:47 +08:00
SengokuCola
55254549be feat:成功融合reasoning和HFC,由主心流统一调控 2025-04-22 02:01:52 +08:00
tcmofashi
5b894f7f59 fix: reply中的format_info为空 2025-04-22 01:27:04 +08:00
Bakadax
ce1247f2fd modified: src/plugins/chat/utils.py 2025-04-21 20:36:38 +08:00
SengokuCola
8b5edf04a2 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-21 18:45:39 +08:00
SengokuCola
c10b7eea61 feat: 整合reasoning模式和hfc模式,统一调控(但不是很统一) 2025-04-21 18:37:49 +08:00
春河晴
13e05adf80 chore: 显式返回None 2025-04-21 14:42:33 +09:00
春河晴
1dd3c62c55 chore: PEP8 naming 2025-04-21 14:32:32 +09:00
SengokuCola
7e0f41c039 fix:修改config 2025-04-21 12:34:00 +08:00
SengokuCola
67c8beb558 ruff:format 2025-04-21 00:44:28 +08:00
SengokuCola
4223f054cc Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-21 00:43:59 +08:00
SengokuCola
4888ab65a7 better:统一化聊天记录获取和格式化接口,修改分割函数 2025-04-20 23:39:06 +08:00
tcmofashi
522b290a79 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-20 17:36:52 +08:00
tcmofashi
edd0afa90f fix: 上次没改完+1 2025-04-20 17:35:47 +08:00
SengokuCola
1f46588749 fix:减少表情包在prompt中的占比 2025-04-20 17:31:34 +08:00
tcmofashi
84f8da90e2 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-20 17:27:44 +08:00
tcmofashi
2a654bd19c fix: 修复prompt构建失败,以及user_id转str 2025-04-20 17:27:31 +08:00
SengokuCola
ed21af9dba fix:麦麦会在no-reply后等待新消息 2025-04-20 17:24:51 +08:00
tcmofashi
f91bcf0e56 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-20 16:43:02 +08:00
tcmofashi
12a18f09b9 refactor: 现在的user_id和group_id支持且即将只支持str格式 2025-04-20 16:42:49 +08:00
SengokuCola
6be33dd5fc remove:旧版心流 2025-04-20 14:36:14 +08:00
tcmofashi
7b4fc71342 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-20 13:13:44 +08:00
github-actions[bot]
a6542b1be7 🤖 自动格式化代码 [skip ci] 2025-04-19 12:34:49 +00:00
SengokuCola
a69ae46fb4 fix: error 2025-04-19 18:49:32 +08:00
SengokuCola
c9ab9d4935 better:优化hfc逻辑 2025-04-19 18:48:59 +08:00
tcmofashi
e50b603f36 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-18 13:28:26 +08:00
SengokuCola
1516d91e90 Update utils.py 2025-04-18 11:42:20 +08:00
SengokuCola
69ba0f7624 Merge branch 'dev' into secret 2025-04-18 11:38:26 +08:00
github-actions[bot]
dfe788c65c 🤖 自动格式化代码 [skip ci] 2025-04-18 03:37:20 +00:00
SengokuCola
4dc9907fbd fix:优化日志 2025-04-18 11:29:57 +08:00
墨梓柒
52483b5d44 fix: Ruff 2025-04-18 10:45:19 +08:00
SengokuCola
09160d2499 FEAT:PPPPfc in群聊,优化聊天流相关功能,新增获取聊天流名称的方法,调整日志输出以包含流名称,改进心流对话的提示信息,移除冗余代码,增强代码可读性。 2025-04-18 10:42:44 +08:00
SengokuCola
cfdaf00559 feat: wonderful new 2025-04-18 10:41:03 +08:00
SengokuCola
0ee5761064 feat:heartFC模式堂堂登场 2025-04-18 10:41:03 +08:00
墨梓柒
23dbc501c9 fix: 心流消息处理失败
fix too many values to unpack
2025-04-18 07:53:09 +08:00
tcmofashi
585fe50f57 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-17 15:53:26 +08:00
春河晴
dcebdb7a35 fix: 重命名变量以避免与内置函数冲突
1. 将 Message 类中的 time 参数重命名为 timestamp,避免与 Python 内置模块 time 冲突
2. 在消息处理相关函数中统一使用 timestamp 变量名称
3. 优化 message_storage 查询条件构建方式

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-17 16:23:53 +09:00
春河晴
2e143d5469 PEP8: 函数中的变量应该小写 2025-04-17 16:04:34 +09:00
春河晴
dc96e26ca5 refactor: 将多个方法修改为静态方法以提高代码可读性和一致性 2025-04-17 15:39:49 +09:00