Commit Graph

42 Commits (429656ffb7ff186d2b6d5b7ec66d33e6ce9262fe)

Author SHA1 Message Date
SengokuCola 58ff4ea765 fuk:fucc 2025-04-29 19:21:03 +08:00
SengokuCola 233d2f6f12 feat:截断过早的超长消息,防止神秘破限词 2025-04-29 19:20:43 +08:00
SengokuCola ff94014032 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-29 18:54:01 +08:00
SengokuCola 1562f47ee5 better:优化normal模式(推理模式)回复prompt 2025-04-29 18:53:59 +08:00
墨梓柒 ac40490bf1 fix: Ruff 2025-04-29 15:20:19 +08:00
SengokuCola de309c2073 better:优化记忆系统,记忆系统现可以整合记忆 2025-04-29 12:33:23 +08:00
SengokuCola 286fef79c4 dev:修复记忆构建文本名称问题 2025-04-29 01:49:51 +08:00
SengokuCola 868e057444 feat:在 Planner 中添加回复计数信息 2025-04-28 01:32:09 +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
SengokuCola 6bac8bee13 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-27 00:44:44 +08:00
github-actions[bot] 060744b552 🤖 自动格式化代码 [skip ci] 2025-04-26 16:01:54 +00:00
墨梓柒 940a6784db fix: 添加异常处理以增强知识库获取的稳定性 2025-04-27 00:01:38 +08:00
SengokuCola 0ee2c04e06 fix:修复竞争bug 2025-04-26 23:22:59 +08:00
SengokuCola 042e969292 fix:修复麦麦回复过去消息 2025-04-26 17:35:23 +08:00
SengokuCola 14157bdab2 better:更清晰的子心流停用逻辑 2025-04-26 13:25:35 +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
github-actions[bot] 8bfff8efe2 🤖 自动格式化代码 [skip ci] 2025-04-25 14:59:23 +00:00
SengokuCola 91ad729b0c better:更好的重新思考修复复读,记录循环信息,拆分模型配置 2025-04-25 21:38:16 +08:00
SengokuCola d7ca0255fe fix:进一步模块化,修复观察错位问题 2025-04-25 18:12:11 +08:00
SengokuCola e24b7cedcb fix:表情包小问题 2025-04-25 00:02:24 +08:00
SengokuCola 503a89fdf5 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-24 23:46:39 +08:00
SengokuCola 3ab3979047 fix:ra 2025-04-24 23:45:49 +08:00
SengokuCola af08ef9b04 feat:新的表情包系统,表情包成为类,且含义更丰富,发送更快 2025-04-24 23:45:13 +08:00
github-actions[bot] 996276ad1e 🤖 自动格式化代码 [skip ci] 2025-04-24 12:23:27 +00:00
SmartMita 64be68d53a
Merge branch 'dev' into dev 2025-04-24 18:05:20 +09:00
114514 487c4c5ec8 添加了与之前PFC同样的审核 2025-04-24 16:45:50 +08:00
SengokuCola 748ac8482a better:优化Prompt 2025-04-24 16:35:05 +08:00
SengokuCola 5e7131ed00 fix:修复神秘魔法士 2025-04-24 15:02:17 +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
SengokuCola c367ec8dfc merge:合并lpmm改动 2025-04-23 15:40:20 +08:00
SengokuCola b4054544c4 fix:实例化 normal_chat,支持不同子聊天拥有不同参数,修复各种问题 2025-04-23 15:30:31 +08:00
春河晴 9b9dbbd74d
fix: Ensure explicit returns and correct async calls
Adds explicit `return None` statements in several functions across different modules to improve code clarity and prevent potential issues where functions might implicitly return None.
Corrects an async call in `Heartflow.deactivate_chat` by adding `await`.
Updates type hints in `heartflow_prompt_builder.py`.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-23 15:18:12 +09:00
github-actions[bot] 705e876735 🤖 自动格式化代码 [skip ci] 2025-04-23 02:29:47 +00:00
墨梓柒 2b07c9e81b feat: 新增LPMM知识库模块及工具支持
- 新增LPMM知识库模块,包括实体提取、RDF构建、Embedding存储、KG管理等功能
- 新增`lpmm_get_knowledge`工具,支持从LPMM知识库中检索相关信息
- 新增OpenIE数据处理模块,支持信息提取、数据导入等功能
- 新增知识库初始化脚本,支持从原始数据到知识库的完整处理流程
- 新增配置文件`lpmm_config.toml`,支持自定义知识库相关参数
- 新增日志模块`LPMM_STYLE_CONFIG`,支持知识库相关日志输出
- 新增`raw_data_preprocessor.py`、`info_extraction.py`、`import_openie.py`等脚本,支持知识库数据预处理
2025-04-23 10:28:05 +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 bcf295905e fix:更改心流运行结构,反正能跑 2025-04-22 23:16:57 +08:00
SengokuCola 8d50a381e4 fix:更名和小bug修复 2025-04-22 21:59:23 +08:00