Commit Graph

1447 Commits (2ace6cc4150abc07fbdfe1f5df47bb13d34d8954)

Author SHA1 Message Date
晴猫 6ff552d921
fix: update message sending to use global API 2025-05-01 17:56:33 +09:00
SengokuCola b6ce5746de fix:修复消息发布出去 2025-05-01 16:55:51 +08:00
晴猫 23d69ba90d
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-01 16:06:13 +09:00
晴猫 95a025b699
add typing 2025-05-01 14:36:17 +09:00
晴猫 de68a6a8ee fix: 更改 MessageManager 的属性检查方式以防止错误
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-01 14:34:59 +09:00
Bakadax 2ac885c4d7 修复TypeError: find_messages() got an unexpected keyword argument 'filter' 2025-05-01 13:20:41 +08:00
UnCLAS-Prommer 1b30598797 让麦麦至少能启动 2025-05-01 09:59:36 +08:00
github-actions[bot] 0fba84c193 🤖 自动格式化代码 [skip ci] 2025-04-30 22:25:33 +00:00
晴猫 45c64208b4
refactor: Clean up unused variables and improve code readability 2025-05-01 07:24:52 +09:00
晴猫 e4959f0386
ruff fix 2025-05-01 07:07:13 +09:00
晴猫 263e8d196a fix: Update type hints to use newer Python syntax
- Replace Dict, List, Optional with dict, list,  < /dev/null |  None syntax
- Fix abstract method implementation in message.py
- Improve type annotations and function return types
- Remove unreachable code in get_current_task_tool.py
- Refactor HTML elements to use style attributes

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-05-01 06:55:05 +09:00
晴猫 3d001da30e
QA: Refactor similarity calculation and improve state management logic 2025-05-01 06:07:59 +09:00
晴猫 2f669c7055
QA: Update requirements and refactor message handling logic etc. 2025-05-01 05:58:18 +09:00
tcmofashi 410c02e7ee Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-01 02:20:49 +08:00
tcmofashi 00544c9b62 fix: 修复私聊prompt构建失败 2025-05-01 02:20:34 +08:00
SengokuCola 93e872db6b 123 2025-05-01 02:08:19 +08:00
SengokuCola 54fe078e90 Update config.py 2025-05-01 02:05:34 +08:00
SengokuCola 6718f81839 Update normal_chat.py 2025-05-01 02:03:50 +08:00
SengokuCola cc99d61cec Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-01 01:59:31 +08:00
SengokuCola 261f93530d fix:关闭开挂模式 2025-05-01 01:59:28 +08:00
SengokuCola e3be745452 fix:修改Looger 2025-05-01 01:54:06 +08:00
SengokuCola f363b7ca00 fix:修复Logger 2025-05-01 01:49:10 +08:00
SengokuCola ccbdc6ffe0 frrr 2025-05-01 01:41:30 +08:00
SengokuCola 0b62802c2c fix:修复了表情包注册问题 2025-05-01 01:40:12 +08:00
SengokuCola 6db8dc01d5 feat:采用直接输出法构建动作planner 2025-05-01 01:21:48 +08:00
SengokuCola 5f0a816cea
Merge pull request #895 from MaiM-with-u/dev
Dev 0.6.3 update
2025-04-30 18:54:14 +08:00
SengokuCola bbbbe41476 fr 2025-04-30 18:49:49 +08:00
SengokuCola 0f1198e64e 修复planner解析 2025-04-30 18:47:37 +08:00
SengokuCola 5cce6d9034 Update emoji_manager.py 2025-04-30 18:46:08 +08:00
SengokuCola e0eaaf49fe Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-30 18:37:10 +08:00
SengokuCola 09a2e63095 fix:小bug 2025-04-30 18:37:09 +08:00
github-actions[bot] c94ef75822 🤖 自动格式化代码 [skip ci] 2025-04-30 10:30:48 +00:00
SengokuCola cb49714d85 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-30 18:30:29 +08:00
SengokuCola a206af76fb Update emoji_manager.py 2025-04-30 18:30:27 +08:00
github-actions[bot] 3b63005f57 🤖 自动格式化代码 [skip ci] 2025-04-30 10:28:47 +00:00
SengokuCola f18d0786bb Update heartflow_prompt_builder.py 2025-04-30 18:28:32 +08:00
SengokuCola c448724624 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-30 18:25:20 +08:00
SengokuCola 377c88c2be Update emoji_manager.py 2025-04-30 18:24:33 +08:00
github-actions[bot] 5242573412 🤖 自动格式化代码 [skip ci] 2025-04-30 10:22:25 +00:00
墨梓柒 c8c27a1483 fix:修正知识获取逻辑,调整知识相关性输出顺序,并添加知识长度限制 2025-04-30 18:22:06 +08:00
SengokuCola c8a72782f0 Update emoji_manager.py 2025-04-30 18:21:06 +08:00
SengokuCola 09b1807132 better:优化表情包处理,优化logger显示 2025-04-30 18:16:38 +08:00
SengokuCola 5963214d95 ruff fix 2025-04-30 17:50:47 +08:00
SengokuCola 7d19a6728f update:发布0.6.3前的准备工作,changlog,readme,配置文件修改 2025-04-30 17:50:20 +08:00
SengokuCola 4c51b6a09c better:优化表情包识别 2025-04-30 17:47:05 +08:00
SengokuCola d0ced65b2c Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-30 17:19:25 +08:00
SengokuCola b8736e4299 better:整理config 2025-04-30 17:18:14 +08:00
github-actions[bot] 0caaec69c1 🤖 自动格式化代码 [skip ci] 2025-04-30 08:20:16 +00:00
Bakadax 4deeb9cf56 Merge branch 'PFC-test' of https://github.com/smartmita/MaiBot into PFC-test 2025-04-30 15:20:17 +08:00
114514 03a9f50128 1 2025-04-30 15:10:26 +08:00
github-actions[bot] 94dd06561e 🤖 自动格式化代码 [skip ci] 2025-04-30 07:08:58 +00:00
Bakadax f1a02b638a Merge branch 'PFC-test' of https://github.com/Dax233/MaiMBot into PFC-test 2025-04-30 15:08:39 +08:00
Bakadax a272db3883 Merge branch 'PFC-test' of https://github.com/smartmita/MaiBot into PFC-test 2025-04-30 15:07:52 +08:00
Bakadax 7ef65cadc2 修复空来源报错 2025-04-30 15:07:34 +08:00
114514 d09965571f 增加字数上限 2025-04-30 15:06:01 +08:00
github-actions[bot] 837b0b3688 🤖 自动格式化代码 [skip ci] 2025-04-30 06:49:22 +00:00
114514 7789050a45 插入知识库和记忆检索 2025-04-30 14:45:28 +08:00
github-actions[bot] 4802c1584b 🤖 自动格式化代码 [skip ci] 2025-04-30 05:57:04 +00:00
Bakadax d5ae3173aa 修复pfc获取知识 2025-04-30 13:56:34 +08:00
github-actions[bot] ed3d809841 🤖 自动格式化代码 [skip ci] 2025-04-30 01:41:00 +00:00
墨梓柒 42505960e1 fix: Ruff 2025-04-30 09:40:45 +08:00
SengokuCola 4b1c678456 feat:为复读增加硬限制 2025-04-30 01:56:48 +08:00
SengokuCola cf2d170d39 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-29 23:48:31 +08:00
SengokuCola 8dcfe04642 fixruad 2025-04-29 23:47:37 +08:00
SengokuCola be84017972 feat:心流查重和心流关系启用,关系prompt优化 2025-04-29 23:47:22 +08:00
github-actions[bot] 46efe44d58 🤖 自动格式化代码 [skip ci] 2025-04-29 15:35:57 +00:00
墨梓柒 894fe8463c logger add init style 2025-04-29 23:35:41 +08:00
github-actions[bot] 0e31276bde 🤖 自动格式化代码 [skip ci] 2025-04-29 12:39:04 +00:00
SengokuCola bc801fff54 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-29 20:38:14 +08:00
SengokuCola dec2e4f442 feat:允许关闭FOCUS模式 2025-04-29 20:38:12 +08:00
Bakadax 663ed1fc11 ai哥说得对 2025-04-29 20:09:33 +08:00
Bakadax 93e2ac1e13 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into PFC-test 2025-04-29 20:07:43 +08:00
SengokuCola 315b0490fe Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-29 19:58:14 +08:00
Bakadax 429656ffb7 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-29 19:51:30 +08:00
github-actions[bot] d659f37ea4 🤖 自动格式化代码 [skip ci] 2025-04-29 11:49:52 +00:00
Bakadax 993b1f452d 把取值的部分放到正确的位置 2025-04-29 19:49:29 +08:00
SengokuCola c5811381bc fix:再度优化关系Prompt 2025-04-29 19:47:47 +08:00
Bakadax a3c43353f3 ai哥太pro了 2025-04-29 19:34:44 +08:00
Bakadax b67694f395 删掉没用的代码 2025-04-29 19:28:14 +08:00
SengokuCola 58ff4ea765 fuk:fucc 2025-04-29 19:21:03 +08:00
SengokuCola 233d2f6f12 feat:截断过早的超长消息,防止神秘破限词 2025-04-29 19:20:43 +08:00
github-actions[bot] 3a4c819cf3 🤖 自动格式化代码 [skip ci] 2025-04-29 11:18:08 +00:00
Bakadax d38943155b 正确删除表情包 2025-04-29 19:17:01 +08:00
Bakadax dcaaddc42a 修复替换表情 2025-04-29 19:01:37 +08:00
SengokuCola ff94014032 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-29 18:54:01 +08:00
SengokuCola 1562f47ee5 better:优化normal模式(推理模式)回复prompt 2025-04-29 18:53:59 +08:00
github-actions[bot] 853ca47a7e 🤖 自动格式化代码 [skip ci] 2025-04-29 10:07:04 +00:00
Bakadax dffb690cba Merge branch 'PFC-test' of https://github.com/smartmita/MaiBot into PFC-test 2025-04-29 18:06:32 +08:00
Bakadax 5683a3a363 把prompt改回来 2025-04-29 17:57:08 +08:00
github-actions[bot] a01a25f6a5 🤖 自动格式化代码 [skip ci] 2025-04-29 09:50:40 +00:00
Bakadax 95828d143d 修复emoji 2025-04-29 17:50:20 +08:00
114514 84e0dda891 新增结束语,似乎很优雅 2025-04-29 17:21:32 +08:00
Bakadax 6374353835 适配新的人设获取工具 2025-04-29 16:16:42 +08:00
Bakadax 97b22330a2 修typo 2025-04-29 15:26:51 +08:00
github-actions[bot] 76922c3c28 🤖 自动格式化代码 [skip ci] 2025-04-29 07:20:35 +00:00
墨梓柒 ac40490bf1 fix: Ruff 2025-04-29 15:20:19 +08:00
UnCLAS-Prommer bb96301a15
Merge pull request #886 from Dax233/PFC-test
PFC 修复打回决策动作不执行的问题 & 优化 checker 的逻辑
2025-04-29 15:18:40 +08:00
Bakadax 06ba51d75f 打回动作决策 2025-04-29 15:04:45 +08:00
114514 7ca883e2cb 优化checker的逻辑,几乎无代码层面改动 2025-04-29 12:53:14 +08:00
SengokuCola de309c2073 better:优化记忆系统,记忆系统现可以整合记忆 2025-04-29 12:33:23 +08:00