Commit Graph

254 Commits

Author SHA1 Message Date
SengokuCola
febe2b4c41 fix:修复了记忆快速提取问题 2025-05-23 16:40:44 +08:00
SengokuCola
9625750e62 fix:文件路径合理化 2025-05-23 16:00:26 +08:00
SengokuCola
821f2ed702 Merge pull request #980 from tcmofashi/dev
Fix: 恢复tamplate_info功能/为maim_message>=0.3.0增加自定义logger
2025-05-23 15:49:36 +08:00
github-actions[bot]
c874af5c87 🤖 自动格式化代码 [skip ci] 2025-05-23 07:49:17 +00:00
SengokuCola
68b248dd9d fix:移除火山sdk 2025-05-23 15:49:01 +08:00
SengokuCola
5d26e25b09 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-23 15:36:33 +08:00
SengokuCola
46ffa826e5 feat:新增豆包绘图示例插件 2025-05-23 15:36:01 +08:00
tcmofashi
aa74329e6e fix: ruff pass 2025-05-23 13:24:29 +08:00
tcmofashi
cddcc10a52 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-23 12:14:31 +08:00
tcmofashi
ff9efb1c5e fix: 恢复template_info功能 2025-05-23 11:04:49 +08:00
github-actions[bot]
220b51aa14 🤖 自动格式化代码 [skip ci] 2025-05-23 02:53:31 +00:00
SengokuCola
0eb1320481 fix:修改插件基类,现在支持任意类型发送 2025-05-23 10:53:18 +08:00
github-actions[bot]
344a8baf22 🤖 自动格式化代码 [skip ci] 2025-05-21 14:42:43 +00:00
墨梓柒
a164cf3244 fix: Ruff 2025-05-21 22:42:26 +08:00
SengokuCola
c24d85150e Update heartFC_chat.py 2025-05-21 19:21:05 +08:00
SengokuCola
bcab845fab 11 2025-05-20 23:45:04 +08:00
SengokuCola
776aae8dc8 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-20 23:44:56 +08:00
SengokuCola
de2736fccd better:可通过配置文件自定义 运行处理器 2025-05-20 23:34:33 +08:00
github-actions[bot]
42e50ee3ed 🤖 自动格式化代码 [skip ci] 2025-05-20 15:03:44 +00:00
墨梓柒
afaf24d28c update: 飞掉老知识库 2025-05-20 23:03:28 +08:00
SengokuCola
b41b7b6524 ruff:fix 2025-05-20 22:56:55 +08:00
SengokuCola
af8edd0ef7 feat: 新增HFC处理器自定义项和思考间隔项
新增了 HFC不同处理器的开启关闭可选项
新增了思考间隔调整
移除无用工具
2025-05-20 22:56:42 +08:00
SengokuCola
25d9032e62 better:重整配置,分离表达,聊天模式区分
重整配置文件路径,添加更多配置选项
分离了人设表达方式和学习到的表达方式
将聊天模式区分为normal focus和auto
2025-05-20 22:42:16 +08:00
SengokuCola
65470f7724 Update self_processor.py 2025-05-20 12:53:54 +08:00
SengokuCola
49c2bc854c refactor:重构聊天状态切换模式,移除限额,精简切换逻辑 2025-05-18 18:15:38 +08:00
SengokuCola
f1081dfe76 Update chattinginfo_processor.py 2025-05-17 01:04:12 +08:00
SengokuCola
d26d69de60 fix;修复提取消息和运行bug 2025-05-17 01:03:20 +08:00
SengokuCola
3520cebc26 fix:小问题 2025-05-16 23:43:48 +08:00
SengokuCola
61e0dbe372 fix:修复合并问题 2025-05-16 23:16:47 +08:00
SengokuCola
b4f6db0767 Merge branch 'new-storage' into plugin 2025-05-16 21:14:16 +08:00
SengokuCola
00f02b6f38 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into new-storage 2025-05-16 21:03:40 +08:00
SengokuCola
d19d5fe885 fix:ruff 2025-05-16 17:15:55 +08:00
SengokuCola
fdd4ac8b4f Merge branch '063fix3' of https://github.com/MaiM-with-u/MaiBot into 063fix3 2025-05-16 17:13:18 +08:00
Oct-autumn
97134648e3 fix: ruff format & check 2025-05-16 17:00:12 +08:00
Oct-autumn
021e7f1a97 refactor: 重构配置模块 2025-05-16 16:50:53 +08:00
SengokuCola
456def4f9c feat:增加了工作记忆 2025-05-16 16:13:12 +08:00
SengokuCola
cda9879bb2 Feat:添加对Action插件的支持,现在可以编写插件 2025-05-16 00:43:46 +08:00
墨梓柒
8775c66454 Update src/chat/focus_chat/heartflow_prompt_builder.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-05-15 10:10:12 +08:00
github-actions[bot]
fb6094d269 🤖 自动格式化代码 [skip ci] 2025-05-14 15:11:33 +00:00
墨梓柒
17d19e7cac fix: Ruff x2 2025-05-14 23:11:19 +08:00
墨梓柒
0352340b72 fix: Ruff 2025-05-14 23:09:14 +08:00
墨梓柒
b84cc9240a 重构数据库交互以使用 Peewee ORM
- 更新数据库连接和模型定义,以便使用 Peewee for SQLite。
- 在消息存储和检索功能中,用 Peewee ORM 查询替换 MongoDB 查询。
- 为 Messages、ThinkingLog 和 OnlineTime 引入了新的模型,以方便结构化数据存储。
- 增强了数据库操作的错误处理和日志记录。
- 删除了过时的 MongoDB 集合管理代码。
- 通过利用 Peewee 内置的查询和数据操作方法来提升性能。
2025-05-14 22:53:21 +08:00
墨梓柒
df897a0f42 feat: 更新数据库模型,添加个人信息存储模型 2025-05-14 20:40:57 +08:00
墨梓柒
307d5a73a6 feat: 重构数据库导入路径,移除旧的数据库模块并添加新的数据库实现 2025-05-14 19:42:53 +08:00
SengokuCola
ba85dd76a4 feat:使用action_manager统一调度action,可扩展action 2025-05-14 18:27:42 +08:00
SengokuCola
e603a00a5f feat:拆分HFC组件,为插件做准备 2025-05-14 14:24:52 +08:00
SengokuCola
7175314656 fix:加try 2025-05-13 23:08:37 +08:00
SengokuCola
1f3596a2ad fix:把base64显示在了prompt中 2025-05-13 22:57:03 +08:00
SengokuCola
8092d89886 Update default_expressor.py 2025-05-13 22:27:21 +08:00
SengokuCola
81c32bd4e7 fix:解析 2025-05-13 22:27:16 +08:00