SengokuCola
3c736f22e4
fixL:
2025-04-24 14:50:34 +08:00
SengokuCola
bb333e8feb
feat:拆分子心流的思考模块
2025-04-24 14:41:49 +08:00
SengokuCola
a89be639d0
Update bot.py
2025-04-24 14:20:42 +08:00
SengokuCola
af763cea27
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
2025-04-24 14:20:22 +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
墨梓柒
f09a65e510
Merge pull request #837 from Dax233/dev
...
修复PFC在3.12以下版本报错
2025-04-24 12:20:51 +08:00
Bakadax
72857d2142
修复NoneType错误
2025-04-24 11:28:44 +08:00
墨梓柒
12de69fb3c
feat(logger): 为聊天流模块添加自定义日志配置
...
新增 `CHAT_STREAM_STYLE_CONFIG` 配置,用于定义聊天流模块的日志格式,包括控制台和文件输出的样式。同时更新 `chat_stream.py` 以使用该配置,确保日志输出风格一致且易于识别。
2025-04-24 11:21:07 +08:00
Bakadax
7a69b046ad
3.11
2025-04-24 11:19:57 +08:00
github-actions[bot]
49c4d77c97
🤖 自动格式化代码 [skip ci]
2025-04-24 03:17:06 +00:00
墨梓柒
b92e0891a1
feat(PFC): 更新PFC相关配置和日志格式
...
- 更新bot配置模板中的版本号至1.4.1
- 为PFC模型添加注释以增强可读性
- 在logger.py中新增PFC私聊规划的日志格式配置
- 在action_planner.py中应用新的日志格式,并修复变量名错误
2025-04-24 11:16:54 +08:00
SengokuCola
357b7245ce
Merge pull request #824 from Dax233/issue#814
...
修复logger中昵称显示错误的问题
2025-04-24 09:52:13 +08:00
SengokuCola
afdd20e6f6
Merge pull request #836 from smartmita/dev
...
修复私聊PFC
2025-04-24 09:51:34 +08:00
Bakadax
8933eaa040
Merge branch 'issue#814' of https://github.com/Dax233/MaiMBot into issue#814
2025-04-24 09:39:28 +08:00
Bakadax
010349aac0
Merge branch 'dev' of https://github.com/Dax233/MaiMBot into issue#814
2025-04-24 09:38:51 +08:00
github-actions[bot]
30fde099b6
🤖 自动格式化代码 [skip ci]
2025-04-23 16:12:44 +00:00
SengokuCola
8962632c0b
fix:hfc现在会在FOCUS下持续运行,有小概率掉出FOCUS模式
2025-04-24 00:11:50 +08:00
114514
2732f40714
修复私聊PFC
2025-04-23 23:48:42 +08:00
github-actions[bot]
1b380ff131
🤖 自动格式化代码 [skip ci]
2025-04-23 15:37:28 +00:00
墨梓柒
3dd50aeb0a
ban掉fastapi的logger输出
2025-04-23 23:34:54 +08:00
SengokuCola
4e767c7633
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
2025-04-23 23:28:13 +08:00
SengokuCola
f825da590d
fix: 修复名字识别错
2025-04-23 23:27:29 +08:00
墨梓柒
6da2a77b78
refactor(logger): 为base_tool和person_info模块添加自定义日志配置
...
为base_tool和person_info模块引入自定义日志配置,提升日志输出的可读性和一致性。分别在logger.py中新增BASE_TOOL_STYLE_CONFIG和PERSON_INFO_STYLE_CONFIG配置,并在相应模块中应用这些配置。
2025-04-23 23:24:08 +08:00
github-actions[bot]
7281c13a12
🤖 自动格式化代码 [skip ci]
2025-04-23 15:17:06 +00:00
墨梓柒
79260d3b86
refactor(logger): 统一日志配置并添加模块特定样式
...
为远程、表情、主程序、后台任务等模块添加了特定的日志样式配置,并统一了日志初始化方式,以提高日志的可读性和一致性。
2025-04-23 23:16:20 +08:00
SengokuCola
d7b783b27c
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
2025-04-23 23:11:45 +08:00
SengokuCola
ae95218dc6
fix:修复允许说话的群无效的问题
2025-04-23 23:11:38 +08:00
SengokuCola
7733782929
fix:修复hfc根本不会被触发的bug
2025-04-23 23:08:19 +08:00
墨梓柒
7438c2dd76
refactor(logger): 替换print为logger并添加自定义日志样式支持
...
将配置文件加载中的print语句替换为logger.info,以统一日志输出。同时新增log_decorators.py文件,提供自定义日志样式的装饰器支持,并在logger.py中实现自定义样式处理器的添加和移除功能。
2025-04-23 22:27:44 +08:00
SengokuCola
c367ec8dfc
merge:合并lpmm改动
2025-04-23 15:40:20 +08:00
SengokuCola
d241e1922a
fix:ruff
2025-04-23 15:32:24 +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
春河晴
7e26304e94
使用旧式联合体写法以兼容python3.9
2025-04-23 14:39:51 +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
ca2bbc9c85
fix:修改工具调用问题
2025-04-23 10:27:54 +08:00
SengokuCola
6265fd6c14
fix: 跳!跳进软钢!
2025-04-23 00:55:33 +08:00
SengokuCola
f58f6ca550
Update heartflow_processor.py
2025-04-23 00:49:07 +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
SengokuCola
1482133005
fix:更改文件夹结构
2025-04-22 17:02:14 +08:00
github-actions[bot]
85ff8dd292
🤖 自动格式化代码 [skip ci]
2025-04-22 06:51:08 +00:00
Bakadax
4c97e155bd
尝试修复昵称显示错误的问题
2025-04-22 14:50:31 +08:00
SengokuCola
157a46af68
Merge pull request #801 from UnCLAS-Prommer/dev
...
拆分_execute_request 第一步:拆分
2025-04-22 11:35:47 +08:00
SengokuCola
061fd33e2f
Merge pull request #817 from Dax233/issue#816
...
修复麦麦会把所有引用回复都识别为提及的问题
2025-04-22 11:35:29 +08:00