Commit Graph

2068 Commits

Author SHA1 Message Date
SengokuCola
b51c84e74e fix:调整了hfc进入概率 2025-04-23 17:12:03 +08:00
SengokuCola
f79f041abc Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-23 16:34:06 +08:00
UnCLAS-Prommer
d557aadb6f Merge pull request #833 from infinitycat233/dev
feat: Add g++ compiler installation in Dockerfile
2025-04-23 15:57:39 +08:00
SengokuCola
a46be25973 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-23 15:53:01 +08:00
SengokuCola
26904b9306 Update sub_heartflow.py 2025-04-23 15:52:47 +08:00
github-actions[bot]
1708957471 🤖 自动格式化代码 [skip ci] 2025-04-23 07:52:31 +00:00
SengokuCola
b4a723037a fix:normal_caht未正常启动 2025-04-23 15:52:19 +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
春河晴
77f70d2fb2 chore: Update .gitignore and remove .DS_Store
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-23 16:09:14 +09:00
infinitycat
7213062f6d feat: Add g++ compiler installation in Dockerfile
This change ensures the g++ compiler is installed within the Docker image. It updates the build process to support projects requiring C++ compilation.
2025-04-23 14:50:25 +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
墨梓柒
7b707014f5 chore: 更新requirements.txt依赖文件 2025-04-23 11:29:53 +08:00
github-actions[bot]
705e876735 🤖 自动格式化代码 [skip ci] 2025-04-23 02:29:47 +00:00
墨梓柒
9eaf72e4f9 fix: Ruff 2025-04-23 10:29:34 +08: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
503d893171 fix:修复sub_heartflow.py:172: RuntimeWarning: coroutine 'SubHeartflow.set_chat_state' was never awaited 2025-04-23 00:46:39 +08:00
SengokuCola
aca3bdddb3 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-23 00:43:47 +08:00
SengokuCola
e2d882ec82 fix:拯救大兵ruff 2 2025-04-23 00:43:33 +08:00
github-actions[bot]
75e89c78d5 🤖 自动格式化代码 [skip ci] 2025-04-22 16:42:45 +00: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
Bakadax
e3271e354b 呜呜~讨厌正则 2025-04-22 11:03:33 +08:00
Bakadax
b1ee98007d Merge branch 'issue#816' of https://github.com/Dax233/MaiMBot into issue#816 2025-04-22 09:34:19 +08:00
Bakadax
062d6d46b7 modified: src/plugins/chat/utils.py 2025-04-22 09:34:10 +08:00
github-actions[bot]
273647f958 🤖 自动格式化代码 [skip ci] 2025-04-22 01:30:21 +00:00
Bakadax
6a21f3408e modified: src/plugins/chat/utils.py 2025-04-22 09:29:47 +08:00
SengokuCola
55254549be feat:成功融合reasoning和HFC,由主心流统一调控 2025-04-22 02:01:52 +08:00
tcmofashi
5b894f7f59 fix: reply中的format_info为空 2025-04-22 01:27:04 +08:00
UnCLAS-Prommer
31d45ad346 Merge branch 'MaiM-with-u:dev' into dev 2025-04-21 22:55:24 +08:00
墨梓柒
ea1a6401f8 1 2025-04-21 22:24:32 +08:00
Bakadax
ce1247f2fd modified: src/plugins/chat/utils.py 2025-04-21 20:36:38 +08:00
SengokuCola
94b1b3c0e6 fix:修复民命 2025-04-21 18:51:53 +08:00
SengokuCola
09ff1d9db5 fix:希望不会爆炸 2025-04-21 18:46:40 +08:00
SengokuCola
ac7b300326 Update main.py 2025-04-21 18:46:08 +08:00
SengokuCola
8b5edf04a2 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-21 18:45:39 +08:00
SengokuCola
c10b7eea61 feat: 整合reasoning模式和hfc模式,统一调控(但不是很统一) 2025-04-21 18:37:49 +08:00
UnCLAS-Prommer
74ed1d3876 Merge branch 'MaiM-with-u:dev' into dev 2025-04-21 15:26:11 +08:00