Commit Graph

683 Commits (f30d472c0bdc8dffcb8b11a0450277387739ad2a)

Author SHA1 Message Date
SengokuCola f30d472c0b feat:优化工具调用的得到的信息调用和缓存 2025-05-02 00:58:55 +08:00
SengokuCola 31291935b2 fix:消息发不出去 2025-05-01 18:26:30 +08: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
UnCLAS-Prommer 1b30598797 让麦麦至少能启动 2025-05-01 09:59:36 +08: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
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 4c51b6a09c better:优化表情包识别 2025-04-30 17:47:05 +08:00
SengokuCola b8736e4299 better:整理config 2025-04-30 17:18:14 +08:00
github-actions[bot] e47e9f6b2d 🤖 自动格式化代码 [skip ci] 2025-04-28 14:33:59 +00:00
Maple127667 adfc8bef7d 错误注释修改,增加了一部分注释 2025-04-28 22:30:24 +08:00
Bakadax 3b88a35a30 增加私聊名称参数 2025-04-28 15:36:29 +08:00
github-actions[bot] 412efe79d2 🤖 自动格式化代码 [skip ci] 2025-04-27 16:22:32 +00:00
墨梓柒 12b03ecb8d 重构跨多个模块的日志配置
- 将“get_module_logger”替换为新模块“logger_manager”中的“get_logger”,以实现一致的日志设置。
- 移除了单独的日志配置设置,转而采用集中式日志管理。
- 更新了多个文件中的日志初始化方法,包括“config.py”、“change_mood.py”、“change_relationship.py”等,以简化日志记录实践。
- 引入“logger_manager.py”,用于根据模块特定的样式处理日志配置。
2025-04-28 00:22:05 +08:00
SengokuCola 6471f5e227 fix|ruff 2025-04-25 23:09:10 +08:00
SengokuCola ecd3b7f673 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-25 23:08:50 +08:00
SengokuCola e17e47bcaf better:优化prompt,修改buffer行为(更严格判定降低延迟,不丢弃图片前文本) 2025-04-25 23:05:46 +08:00
UnCLAS-Prommer c420e1597c
Merge pull request #844 from tcmofashi/dev
feat: 全面改用maim_message,移除对rest的支持
2025-04-25 22:55:49 +08:00
SengokuCola 21d1f102e4 fix:是否保护颜文字进入config 2025-04-25 18:37:14 +08:00
SengokuCola d7ca0255fe fix:进一步模块化,修复观察错位问题 2025-04-25 18:12:11 +08:00
tcmofashi 56c918d60e feat: 全面改用maim_message,移除对rest的支持 2025-04-25 13:35:51 +08:00
SengokuCola 1e75082141 fix:ruff 2025-04-25 02:11:21 +08:00
SengokuCola 5ba36b6267 fix:傻逼括号和换行符 2025-04-25 01:44:20 +08:00
SengokuCola 630c334c4a fix:哈希错误 2025-04-25 00:39:34 +08:00
SengokuCola e24b7cedcb fix:表情包小问题 2025-04-25 00:02:24 +08:00
SengokuCola af08ef9b04 feat:新的表情包系统,表情包成为类,且含义更丰富,发送更快 2025-04-24 23:45:13 +08:00
SengokuCola a89be639d0 Update bot.py 2025-04-24 14:20:42 +08:00
SengokuCola af763cea27 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-24 14:20:22 +08:00
SengokuCola 3075664480 fix:FFUF 2025-04-24 14:19:26 +08:00
SengokuCola f8450f705a feat:合并工具调用模型和心流模型 2025-04-24 14:18:41 +08:00
墨梓柒 f09a65e510
Merge pull request #837 from Dax233/dev
修复PFC在3.12以下版本报错
2025-04-24 12:20:51 +08:00
Bakadax 72857d2142 修复NoneType错误 2025-04-24 11:28:44 +08:00
墨梓柒 12de69fb3c feat(logger): 为聊天流模块添加自定义日志配置
新增 `CHAT_STREAM_STYLE_CONFIG` 配置,用于定义聊天流模块的日志格式,包括控制台和文件输出的样式。同时更新 `chat_stream.py` 以使用该配置,确保日志输出风格一致且易于识别。
2025-04-24 11:21:07 +08:00
Bakadax 8933eaa040 Merge branch 'issue#814' of https://github.com/Dax233/MaiMBot into issue#814 2025-04-24 09:39:28 +08:00
Bakadax 010349aac0 Merge branch 'dev' of https://github.com/Dax233/MaiMBot into issue#814 2025-04-24 09:38:51 +08:00
SengokuCola 4e767c7633 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-23 23:28:13 +08:00
github-actions[bot] 7281c13a12 🤖 自动格式化代码 [skip ci] 2025-04-23 15:17:06 +00:00
墨梓柒 79260d3b86 refactor(logger): 统一日志配置并添加模块特定样式
为远程、表情、主程序、后台任务等模块添加了特定的日志样式配置,并统一了日志初始化方式,以提高日志的可读性和一致性。
2025-04-23 23:16:20 +08:00
SengokuCola ae95218dc6 fix:修复允许说话的群无效的问题 2025-04-23 23:11:38 +08:00
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