Commit Graph

328 Commits (6b6f99659d6f99aca61c2b91def95bd863073163)

Author SHA1 Message Date
SengokuCola 859e5201fc Update default_expressor.py 2025-05-28 20:45:34 +08:00
SengokuCola 218d0d4a5d pass ruff 2025-05-28 20:44:26 +08:00
SengokuCola bc489861d3 feat:为normal_chat提供选项,有效控制回复频率 2025-05-28 20:41:46 +08:00
SengokuCola a2eb4a163b fix:修复私聊bug 2025-05-28 13:58:51 +08:00
SengokuCola 41f97a0bf1 feat:允许command设置展示名称,而非指令原文,添加处理器超时,NormalChat转换清理 2025-05-28 13:49:19 +08:00
SengokuCola 7fcd5c9abe feat:修复normal_chat BUG,添加调试选项 2025-05-28 12:41:43 +08:00
SengokuCola 2c973244e3 fix修复at 2025-05-27 23:34:09 +08:00
SengokuCola 7b05bb3b66 ruff 2025-05-27 23:09:50 +08:00
SengokuCola 43e465860f fix:优化离开focus模式的机制,完全移除Interest机制, 2025-05-27 23:08:44 +08:00
SengokuCola 369de9d137 feat:优化了auto切换聊天模式机制,修改取名prompt,不再处理temp 2025-05-27 21:45:03 +08:00
SengokuCola 7e59382603 feat:支持qwen3模型的enable_thinking参数和thinking_budget参数 2025-05-27 20:50:06 +08:00
SengokuCola cad9b40bb3 better:进一步拆分模型配置 2025-05-27 18:35:33 +08:00
SengokuCola 52f7cc3762 fix:优化记忆提取,修复破损的tool信息 2025-05-27 18:21:05 +08:00
SengokuCola 548a583cc7 fix:修复禁言插件 2025-05-27 17:07:51 +08:00
SengokuCola 0391111c82 feat:拆分重命名模型配置,修复动作恢复问题 2025-05-27 14:28:41 +08:00
SengokuCola 5b8e4c0690 druff 2025-05-27 12:44:46 +08:00
SengokuCola 890a7b6505 feat:修复了action变更,修改了默认配置,提升版本号 2025-05-27 12:41:23 +08:00
tcmofashi 5a312a9421 fix: pass ruff 2025-05-26 18:50:25 +08:00
tcmofashi 407d278f84 fix: 恢复actionprocessor,增加与formatinfo的联动逻辑 2025-05-26 12:38:03 +08:00
tcmofashi 0f62742138 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-05-26 10:41:52 +08:00
tcmofashi 2f9718441a feat: 启用message中的format_info功能 2025-05-26 10:40:31 +08:00
github-actions[bot] 516092494e 🤖 自动格式化代码 [skip ci] 2025-05-23 09:07:54 +00:00
SengokuCola 3a44f00bc1 better:优化自我认知信息 2025-05-23 17:07:41 +08:00
github-actions[bot] 8d23255391 🤖 自动格式化代码 [skip ci] 2025-05-23 08:46:23 +00:00
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
SengokuCola d2f7f093e3 better:让表情包和文字统一发送 2025-05-13 22:13:00 +08:00
SengokuCola 6b42f3c2b0 fix:调整hf位置 2025-05-13 18:43:36 +08:00
SengokuCola 334211cba1 fix:移动一些文件 2025-05-13 18:42:25 +08:00
SengokuCola fed71bccad fix:调整目录结构,优化hfc prompt,移除日程,移除动态和llm判断willing模式, 2025-05-13 18:37:55 +08:00