Commit Graph

82 Commits

Author SHA1 Message Date
墨梓柒
9cf62f983e feat:为多个模块添加丰富的追踪信息以增强调试能力 2025-05-02 03:18:24 +08:00
SengokuCola
d23bee969d Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-02 02:05:16 +08:00
SengokuCola
63361707b3 Update message_sender.py 2025-05-02 02:03:55 +08:00
github-actions[bot]
a5368b44d0 🤖 自动格式化代码 [skip ci] 2025-05-01 18:03:41 +00:00
SengokuCola
974839c1b5 fix:修复引用回复逻辑 2025-05-02 02:03:24 +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
晴猫
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
晴猫
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
墨梓柒
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
tcmofashi
56c918d60e feat: 全面改用maim_message,移除对rest的支持 2025-04-25 13:35:51 +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
春河晴
dc2cf843e5 改各种小问题 2025-04-16 17:37:28 +09:00
SengokuCola
b97c2b320d fix: improve logger 2025-04-13 21:42:08 +08:00
春河晴
7840a6080d ruff reformatted 2025-04-08 15:31:13 +09:00
SengokuCola
028a087034 fix:彻底修复表情包打字时间炸裂 2025-04-05 18:57:41 +08:00
SengokuCola
bd753acd2c fix: 修复表情包打字时间 2025-04-05 12:28:43 +08:00
UnCLAS-Prommer
1dc3f24cfe 增加exception检查与fallback 2025-04-05 11:59:42 +08:00
tcmofashi
a9886400b5 feat: 支持maim_message的websocket连接,以及修复了statistic中的groupname bug 2025-04-04 17:02:43 +08:00
SengokuCola
6bbd94373a better:现在不会无限制的保存表情包,拥有存储上限 2025-04-04 00:52:44 +08:00
SengokuCola
a92aa35e72 better:回复现在依照条数和长度而不是时间引用 2025-04-04 00:30:27 +08:00
SengokuCola
10a72b489e fix:小修改 2025-04-03 22:21:32 +08:00
SengokuCola
61c962643e fix:修改了文件结构 2025-04-01 21:48:50 +08:00
SengokuCola
6f3cc2cb55 better:优化了统计信息,会在控制台显示统计信息 2025-03-31 23:26:38 +08:00
SengokuCola
4c42c90879 better:优化回复逻辑,现在回复前会先思考,移除推理模型再回复中的使用,优化心流运行逻辑,优化思考时间计算逻辑,添加错误检测 2025-03-31 22:34:52 +08:00
Rikki
8374705082 fix: 修复所有的ruff报错 2025-03-30 07:04:39 +08:00
SengokuCola
803ae55876 Update message_sender.py 2025-03-29 19:45:35 +08:00
SengokuCola
2e0d358d93 fix:让麦麦回复功能正常工作,输出一堆调戏信息 2025-03-29 19:13:32 +08:00
tcmofashi
3eb1601982 Merge remote-tracking branch 'upstream/main-fix' into refactor 2025-03-28 10:56:47 +08:00
tcmofashi
c72e473934 feat: 增加平台支持的url配置 2025-03-28 04:20:45 +08:00
SengokuCola
b474da3875 better:海马体2.0升级-进度30% 2025-03-27 22:14:23 +08:00
tcmofashi
00436c9a96 fix: 取消了取api result 2025-03-27 17:46:05 +08:00
tcmofashi
4c332d0b2f refactor: 初步重构为maimcore 2025-03-27 13:30:46 +08:00
SengokuCola
def7ee7ace Update message_sender.py 2025-03-26 23:38:37 +08:00
SengokuCola
01b24d7f8c Revert "Merge branch 'think_flow_test' into main-fix"
This reverts commit 29089d7160, reversing
changes made to d03eef21de.
2025-03-25 17:10:28 +08:00
SengokuCola
6c9b04c1be feat 思维流大核+小核 2025-03-24 18:36:03 +08:00
SengokuCola
7c50e33369 better 更好的logger格式 2025-03-21 16:24:28 +08:00
春河晴
fdc098d0db 优化代码格式和异常处理
- 修复异常处理链,使用from语法保留原始异常
- 格式化代码以符合项目规范
- 优化导入模块的顺序

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-03-19 20:27:34 +09:00
SengokuCola
8f0d13923c better 优化logger输出,清洁cmd 2025-03-19 15:27:53 +08:00
SengokuCola
d7165175da fix 修复了麦麦不会回复的bug 2025-03-18 12:55:16 +08:00
SengokuCola
39e07b42d0 fix msg 2025-03-18 10:26:13 +08:00
SengokuCola
665ef54cdd 更新remote项,使其真正有作用,更新config到0.0.10 2025-03-17 11:53:57 +08:00
AL76
924e9994ed refactor: 重构漏掉的模块对于logger的初始化方式(可能不全) 2025-03-15 15:20:42 +08:00
SengokuCola
b2096debf4 修复输出 新增eula, 修复自动版本升级 2025-03-15 12:30:01 +08:00