晴猫
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
墨梓柒
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
af08ef9b04
feat:新的表情包系统,表情包成为类,且含义更丰富,发送更快
2025-04-24 23:45:13 +08:00
SengokuCola
2eecd746af
feat:基于不同心流单独的发送器实例,反正能跑,但我也不知道能不能跑
...
睡觉
2025-04-23 00:41:46 +08:00
tcmofashi
5b894f7f59
fix: reply中的format_info为空
2025-04-22 01:27:04 +08:00
春河晴
13e05adf80
chore: 显式返回None
2025-04-21 14:42:33 +09:00
SengokuCola
ed21af9dba
fix:麦麦会在no-reply后等待新消息
2025-04-20 17:24:51 +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
tcmofashi
92ac20aaf5
feat: 为当前回复添加format_accept的约束
2025-04-17 10:48:07 +08:00
春河晴
a8d48fc6cf
style: 格式化代码,修复不一致的空格和注释,更新ruff action
2025-04-16 16:16:52 +09:00
SengokuCola
9fc74cb066
feat: 新增统一命名功能,自动替换prompt内唯一标识符,优化prompt效果
2025-04-16 01:13:18 +08:00
SengokuCola
a889d9d222
feat:更好的回复信息收集器
2025-04-09 19:27:23 +08:00
SengokuCola
449ac12145
fix:pfc优化,会检查新消息
2025-04-05 00:58:01 +08:00
SengokuCola
a92aa35e72
better:回复现在依照条数和长度而不是时间引用
2025-04-04 00:30:27 +08:00
Rikki
8374705082
fix: 修复所有的ruff报错
2025-03-30 07:04:39 +08:00
tcmofashi
4c332d0b2f
refactor: 初步重构为maimcore
2025-03-27 13:30:46 +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
d7165175da
fix 修复了麦麦不会回复的bug
2025-03-18 12:55:16 +08:00
AL76
ea88420ae2
refactor: 重构所有模块对于logger的初始化方式(可能不全)
2025-03-15 15:10:58 +08:00
Bakadax
aee5fa7603
Update message.py
2025-03-14 17:58:14 +08:00
tcmofashi
374b64165f
Merge remote-tracking branch 'upstream/main-fix' into main-fix
2025-03-14 15:41:25 +08:00
SengokuCola
c23f60f518
Merge pull request #376 from SengokuCola/refactor
...
Refactor
2025-03-14 15:06:30 +08:00
tcmofashi
e2c5d42634
add self
2025-03-14 14:17:09 +08:00
tcmofashi
3e05f03ddf
fix: fix reply
2025-03-14 14:05:28 +08:00
Oct-autumn
33df5981b4
fix: 构建记忆时重复读取同一段消息,导致token消耗暴增
2025-03-14 13:37:23 +08:00
RBAmeto
93fb541601
set_reply bug
2025-03-14 01:31:22 +08:00
tcmofashi
588aecd0f3
fix: 为没有hash的表情包添加hash,修复set reply
2025-03-12 21:30:38 +08:00
SengokuCola
d524409c18
Merge branch 'debug' into debug
2025-03-12 00:29:59 +08:00
SengokuCola
ed18f2e96d
新增了知识库一键启动漂亮脚本
2025-03-11 23:46:49 +08:00
Pliosauroidea
390b2d81d7
Merge branch 'SengokuCola:debug' into debug
2025-03-11 23:01:31 +08:00
ChangingSelf
8c346377cb
提高健壮性
2025-03-11 22:58:07 +08:00
ChangingSelf
2688a96986
close SengokuCola/MaiMBot#225 让麦麦可以正确读取分享卡片
2025-03-11 22:47:23 +08:00
Pliosauroidea
5aeafca756
Merge branch 'debug' of https://github.com/Pliosauroidea/MaiMBot into debug
2025-03-11 20:45:12 +08:00
Pliosauroidea
66a0f18e69
修复了私聊时产生reply消息的bug
2025-03-11 20:38:14 +08:00
Pliosauroidea
33cd83b895
添加私聊功能
2025-03-11 20:01:38 +08:00
tcmofashi
aa41f0d1d8
fix: 放反了
2025-03-11 19:47:09 +08:00
tcmofashi
ef8691cd9e
fix: 修改message继承逻辑,修复回复消息无法识别
2025-03-11 19:30:20 +08:00
tcmofashi
8cbf9bb048
feat: 史上最好的消息流重构和图片管理
2025-03-11 04:42:24 +08:00
tcmofashi
7899e67cb2
feat: 重构完成开始测试debug
2025-03-11 01:15:32 +08:00
tcmofashi
6e2ea8261b
refractor: 几乎写完了,进入测试阶段
2025-03-10 20:59:41 +08:00
tcmofashi
fe3684736a
feat: 超大型重构
2025-03-09 11:02:01 +08:00
SengokuCola
140bc1ab91
ruff说他有好点子
2025-03-08 16:10:55 +08:00
tcmofashi
a527e5ce76
fix: 修复获取的消息没有time字段
2025-03-07 19:17:11 +08:00
tcmofashi
e48d93b7cb
feat: 对自己发出的表情包提供描述
2025-03-07 09:24:25 +08:00
tcmofashi
5bf94d34a1
fix: 修改message_sending中cq码被翻译的问题
2025-03-07 08:46:36 +08:00
KawaiiYusora
e0e3ee4177
fix: update CQCode and Message classes for async initialization and processing
2025-03-07 01:31:03 +08:00
KawaiiYusora
26f99664ee
fix: cq_code async
2025-03-07 00:04:36 +08:00