Commit Graph

1230 Commits (19eee8358fb9c0b51796fa442c7d2f7b609ff12e)

Author SHA1 Message Date
SengokuCola 028d747d7d better:优化planner和replyer协同 2025-11-20 15:18:15 +08:00
SengokuCola 256a5e3cef feat:优化log配置项 2025-11-20 14:48:10 +08:00
墨梓柒 44f427dc64
Ruff fix 2025-11-19 23:35:14 +08:00
SengokuCola 43754b5c18 feat:优化记忆查询表现 2025-11-18 19:38:45 +08:00
SengokuCola e9cd9c0bff better:可选是否加入reaon到replyer 2025-11-16 13:00:14 +08:00
SengokuCola 68916d1fcb better:优化表达方式选择 2025-11-16 11:35:36 +08:00
SengokuCola 22dca15f0a planner思考现在加入replyer 2025-11-16 00:16:23 +08:00
SengokuCola a2495c7834 remove:移除Exp+model表达方式,一处无用代码,新增配置项 2025-11-15 19:23:50 +08:00
SengokuCola 04d1aa6763 fix:优化自我识别和情绪 2025-11-15 12:18:45 +08:00
SengokuCola 4032a2ca9e feat:可记录和查询群昵称 2025-11-14 23:34:28 +08:00
SengokuCola d306e40db0 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-13 19:00:59 +08:00
SengokuCola f2819be5e9 feat:lpmm可选接入memory agent,将memory agent改为标准工具格式,修改llm_utils以兼容 2025-11-13 18:55:37 +08:00
墨梓柒 7839acd25d
Ruff fix 2025-11-13 13:24:55 +08:00
SengokuCola f933139bdb Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-12 01:29:15 +08:00
SengokuCola 012e0460e5 feat:记忆遗忘,优化记忆提取 2025-11-12 01:29:11 +08:00
SengokuCola 11177f04ff
Merge pull request #1354 from exynos967/dev
fix(bot.py): 恢复戳一戳正常响应
2025-11-12 00:41:36 +08:00
SengokuCola 2d6eba7da1 better:优化记忆提取能力 2025-11-11 23:57:47 +08:00
SengokuCola 82a87f4926 better:优化planner,提及时消耗更少,连续no_reply时降低敏感度 2025-11-11 23:57:33 +08:00
SengokuCola 250919f892 fix:回复超长现可返回原文 2025-11-11 23:56:57 +08:00
SengokuCola 17e6a215d8 featrue:添加大量新统计指标 2025-11-11 01:19:09 +08:00
SengokuCola 26784b00a5 better:优化记忆检索占用 2025-11-11 00:40:43 +08:00
SengokuCola 85864c7013 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-10 22:20:18 +08:00
SengokuCola fd19170543 better:美化统计界面 2025-11-10 22:13:25 +08:00
xiaoxi68 12bd9f368d fix(bot): 恢复戳一戳正常响应 2025-11-10 19:04:00 +08:00
SengokuCola f982092fab
Merge pull request #1353 from XXXxx7258/dev
增加配置项,可选是否超出句子数量后,合并全部消息并发出。
2025-11-10 19:02:35 +08:00
晴空 79687b2702
Handle overflow in response splitting logic 2025-11-10 17:59:27 +08:00
SengokuCola 71a2a4282b fix:优化记忆提取和聊天压缩 2025-11-10 12:27:54 +08:00
SengokuCola 10cd2474af better:优化错别字生成和分段 2025-11-10 01:13:02 +08:00
SengokuCola 70cffcc387 update:修正记忆提取llm统计 2025-11-10 00:46:48 +08:00
SengokuCola 53bbda0c07 feat:多样化不知道 2025-11-10 00:30:23 +08:00
SengokuCola 224af22142 better:大幅优化planner消耗 -60% 2025-11-10 00:21:36 +08:00
SengokuCola acf316281b fix:非提及不回复 2025-11-09 20:44:00 +08:00
SengokuCola 9191756412 test:压缩1/3的planner消耗 2025-11-09 18:05:33 +08:00
SengokuCola d5642c6916 fix:prompt问题 2025-11-09 17:49:37 +08:00
SengokuCola 98c85d8d1d fix:修复私聊记忆 2025-11-09 17:35:43 +08:00
SengokuCola 7b3793f366 better:优化log和添加changelog 2025-11-09 14:14:57 +08:00
SengokuCola 7a3f260cc3 feat:添加ReAct记忆提取系统 2025-11-09 14:02:29 +08:00
SengokuCola d761d42dd7 feat:添加聊天记录总结模块 2025-11-09 14:00:27 +08:00
SengokuCola fb1b520e68 better:优化直接提及时的回复速度 2025-11-09 13:59:51 +08:00
SengokuCola 605eb636c8 feat:移除表达方式上限,优化replyer prompt 2025-11-07 15:27:04 +08:00
SengokuCola 5bde31e512 feat:添加黑话收集器 2025-11-05 00:35:26 +08:00
SengokuCola 03e06c282c feat:可以对不同chat自定义一段额外prompt 2025-11-05 00:35:16 +08:00
SengokuCola 6adc972e53 feat:添加主动发言相关api 2025-11-04 21:20:59 +08:00
SengokuCola 3e5058eb0f fix:优化记忆提取,提供细节prompt debug项目 2025-11-03 22:41:21 +08:00
xiaoxi68 cb5962f739 fix: 撤回通知日志优化并避免二次空日志 2025-10-30 13:22:29 +08:00
SengokuCola e0aa745ba4 feat:记忆遗忘和动态合并阈值 2025-10-30 11:27:01 +08:00
SengokuCola 1d8b7aa805 update:修改版本号,修改默认max_token,修改hangelog 2025-10-27 16:07:54 +08:00
SengokuCola 5a8779aea4 Update brain_chat.py 2025-10-26 23:17:04 +08:00
SengokuCola 7660be7076 ref:修改默认推荐模型为v3.2和r1 2025-10-26 23:06:11 +08:00
SengokuCola 00c8144d49 better:修改get_memoy tool以处理没有提取到记忆的情况 2025-10-25 22:02:49 +08:00
SengokuCola ea5d08ba54 better:统计现在统计模型名,限制思考长度 2025-10-25 21:31:02 +08:00
SengokuCola ae1f509cdb feat:支持多重人格和切换概率配置 2025-10-25 16:39:59 +08:00
foxplaying 560bda4a65
优化 2025-10-25 16:19:49 +08:00
foxplaying 1ea3c3eaeb
增加数据清理 2025-10-25 16:11:25 +08:00
SengokuCola 3f7f3da4d1 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-10-25 16:05:58 +08:00
SengokuCola 1971952ac7
Merge pull request #1316 from madoka315/patch-1
【dev】fix: 为内置频率调整添加提示词和约束,修复未达预期效果的误判
2025-10-25 16:05:45 +08:00
SengokuCola fa682ec38f fix:移除vlm的生成限制 2025-10-25 15:59:11 +08:00
SengokuCola bd5fc8969b ref:将make_question从Plugin改为回复前工作;为tool添加chat_id字段 2025-10-25 15:56:17 +08:00
madoka315 7a8d01f8e0
feat: 为内置频率调整添加提示词和约束
此commit用于:解决实践中部分模型经常会输出一大段内容,其中包含“过于频繁”关键字,从而导致内置频率调整器误调整的问题。
2025-10-23 23:29:35 +08:00
Cookie987 2318dbadef Fix #1288
提升统计任务容错性,安全加载 local_storage 数据
2025-10-14 22:52:11 +08:00
SengokuCola f75c6a130d Update planner.py 2025-10-14 13:24:45 +08:00
SengokuCola 36d95848d1 feat:内置频率调整,减轻Planner负担 2025-10-14 13:17:08 +08:00
SengokuCola 0dd3e21c79 Update statistic.py 2025-10-14 12:18:07 +08:00
SengokuCola 10b16947a5 feat:使用通用配置其他平台的id,一处无关代码 2025-10-14 12:08:21 +08:00
exynos 817154a72b 标准化“被@”识别与平台解耦:更改 maim_message 以适配tg等后续平台的视频 2025-10-13 16:00:15 +08:00
exynos 47816e305e
将 _handle_action 中的调用从 run() 改为 execute(),与 BaseAction 接口对齐。
将 _handle_action 中的调用从 run() 改为 execute(),与 BaseAction 接口对齐。
2025-10-12 19:19:11 +08:00
SengokuCola d073a215e3 better:优化了表达模型的预测,和表达方式的学习逻辑 2025-10-11 23:44:52 +08:00
SengokuCola 958d6e04ee feat:表达方式更新,现在会训练朴素贝叶斯模型来预测使用什么表达 2025-10-11 02:03:03 +08:00
SengokuCola f88b479afa fix:修复一些bug 2025-10-08 19:39:54 +08:00
SengokuCola 40fb50249f remove:移除部分兼容函数 2025-10-08 18:50:18 +08:00
SengokuCola 16ae212adc feat:将记忆配置项添加到配置文件 2025-10-08 18:45:06 +08:00
SengokuCola 19fd667271 Update message.py 2025-10-05 17:34:57 +08:00
SengokuCola 3f321b59c9 fix:修复标题生成问题 2025-10-05 17:13:16 +08:00
SengokuCola e2c40db366 fix:问题不会重复提 2025-10-05 17:03:13 +08:00
SengokuCola f44857d856 better:优化记忆生成 2025-10-05 15:38:13 +08:00
SengokuCola a3009e0128 fix:修复taget中的图片展示错误的问题 2025-10-05 15:07:08 +08:00
SengokuCola 6a546a7c2b fix 2025-10-04 21:30:39 +08:00
SengokuCola df5688e912 fix:减少end几率 2025-10-04 21:15:58 +08:00
SengokuCola 5e1479bc85 fix:小Bug 2025-10-04 21:08:53 +08:00
SengokuCola ced8935fe1 feat:可以定义主动发言概率 2025-10-04 20:58:15 +08:00
SengokuCola d180a2ec07 Update heartFC_chat.py 2025-10-04 20:32:20 +08:00
SengokuCola a647b8fb74 feat:隔离所有记忆和问题 2025-10-04 20:24:46 +08:00
SengokuCola 1c5a3f77bc Update heartFC_chat.py 2025-10-04 17:43:28 +08:00
SengokuCola 35c3fe5b10 feat:添加来自困惑内容的主动提问发言 2025-10-04 17:18:43 +08:00
SengokuCola eaf218ff15 Update brain_chat.py 2025-10-04 14:52:00 +08:00
SengokuCola 57c9811a78 feat:为动作添加更明确的反馈 2025-10-02 20:32:03 +08:00
SengokuCola dbdf650b1d ref:修改了plan的执行记录展示模式,现在每个动作的执行都会被记录 2025-10-02 20:11:44 +08:00
SengokuCola 92e90a0bee feat:添加频率精准控制,移除s4u代码,优化tool返回值 2025-10-02 01:19:05 +08:00
SengokuCola aeeceeb32b fix:修复转义问题 2025-10-02 00:06:50 +08:00
SengokuCola 993f85bfeb feat:情绪可开关,默认关 2025-09-30 17:57:54 +08:00
SengokuCola b2eec7d3b1 fix:修复麦麦好奇和message_api的一个错误 2025-09-30 01:29:10 +08:00
SengokuCola e2310de6b5 feat:新增麦麦好奇功能,优化记忆构建 2025-09-29 23:46:49 +08:00
SengokuCola d519406e4a remove:移除无用代码 2025-09-29 21:24:23 +08:00
SengokuCola a3390f6cba better:优化记忆构建 2025-09-29 20:57:34 +08:00
SengokuCola 2eacac7070 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-09-29 20:29:26 +08:00
SengokuCola 741e123496 feat:添加数据提取脚本 2025-09-29 20:28:26 +08:00
SengokuCola c9c7a7704c change:将表达器模型给Utils 2025-09-29 18:12:14 +08:00
SengokuCola 0683f56e23 fix:修复记忆提取的一些问题 2025-09-29 00:22:34 +08:00
SengokuCola f3cbc6ed89 fuix:模糊匹配记忆 2025-09-28 14:33:12 +08:00
SengokuCola f4b977fa20 Update Memory_chest.py 2025-09-28 14:13:43 +08:00
SengokuCola 14a8890791 feat:提供记忆整合功能 2025-09-28 13:48:31 +08:00
SengokuCola 6b25c0295d fix:更改一些参数 2025-09-28 12:45:17 +08:00
SengokuCola 6e7e9be82a feqt 转换旧记忆 2025-09-28 11:48:32 +08:00
SengokuCola cec2c1830e Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-09-28 02:04:49 +08:00
SengokuCola 0cd39476d8 feat:新的记忆系统,deepthink插件,修复平行动作 2025-09-28 02:03:43 +08:00
墨梓柒 e9a5488b62
Ruff Fix 2025-09-28 00:02:18 +08:00
SengokuCola 5cc1e56904 feat:为表达方式记录更多信息 2025-09-26 13:36:35 +08:00
SengokuCola e79da24c23 update:升级表达方式0.1 2025-09-26 12:50:50 +08:00
SengokuCola dd4fdaeb95 feat:添加plan防抖 2025-09-25 21:11:11 +08:00
SengokuCola 11cc7ced13 fix:修复(也许)吞字问题 2025-09-25 20:20:04 +08:00
SengokuCola 20013a1a2c log:修改一些log 2025-09-25 19:07:35 +08:00
SengokuCola 1ddedc1dc6 fix:修改mood的残存内容 2025-09-25 18:30:39 +08:00
SengokuCola 85320f6d50 feat:移除mood,但是加入mood_api 2025-09-25 18:23:10 +08:00
UnCLAS-Prommer a2bbbf263c
fix filter 2025-09-24 19:52:55 +08:00
SengokuCola 0964676bfb fix:表情包管理插件可工作 2025-09-24 17:32:47 +08:00
SengokuCola dff75142ec feat:添加内置emoji管理插件 2025-09-24 16:13:43 +08:00
UnCLAS-Prommer 680593d57c
fix #1253 2025-09-23 21:02:03 +08:00
SengokuCola 22ddaa5b72 fix:修改参数优化 2025-09-23 19:42:45 +08:00
SengokuCola 6dfc4552a6 feat:发布前更改 2025-09-22 00:49:21 +08:00
SengokuCola 227412d8de Update private_generator.py 2025-09-18 21:29:56 +08:00
SengokuCola c0f3f636c8 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-09-17 22:00:40 +08:00
SengokuCola bc9aee9a00 Update private_generator.py 2025-09-17 22:00:37 +08:00
UnCLAS-Prommer c5fa9e14fd
Merge branch 'dev' of github.com:MaiM-with-u/MaiBot into dev 2025-09-17 21:21:21 +08:00
UnCLAS-Prommer 36345e416a
修复Images.id问题 2025-09-17 21:21:03 +08:00
SengokuCola a932ca695a feat:将relation获取变为工具 2025-09-17 21:17:52 +08:00
SengokuCola ddf4fb1bce 私聊拥有单独的planner配置 2025-09-17 20:17:23 +08:00
UnCLAS-Prommer d017a586e2
Revert "透过戳一戳消息" 2025-09-17 20:09:34 +08:00
SengokuCola a008ca8e66
Merge pull request #1240 from A0000Xz/dev
透过戳一戳消息
2025-09-17 19:57:19 +08:00
SengokuCola 6ea3a37dd9 feat:修复麦麦不说话的bug 2025-09-17 19:53:59 +08:00
A0000Xz f7022ecc68
透过戳一戳消息 2025-09-17 19:53:13 +08:00
SengokuCola 1b31702b53 修复私聊问题 2025-09-17 19:37:27 +08:00
UnCLAS-Prommer 88eb5cd40d
events系统大体完成 2025-09-17 16:17:35 +08:00
UnCLAS-Prommer 91e716a24c
fix of types 2025-09-17 15:49:29 +08:00
magisk317 89fb98c7f4 Fix TypeError in _check_ban_regex by handling NoneType raw_message
- Add None check for text parameter in _check_ban_regex function
- Prevents TypeError when message.raw_message is None
- Fixes issue: expected string or bytes-like object, got 'NoneType'
2025-09-17 11:28:44 +08:00
SengokuCola 750bdfe04d feat:私聊独有replyer 2025-09-16 15:02:12 +08:00
SengokuCola 755ceba0a4 添加私聊特殊planner 2025-09-16 14:46:31 +08:00
SengokuCola f89c5521dc feat;更改了talk_value的含义,增加私聊模式 2025-09-16 14:24:44 +08:00
UnCLAS-Prommer 4f5dc810ef
Merge branch 'dev' of github.com:MaiM-with-u/MaiBot into dev 2025-09-15 15:23:17 +08:00
UnCLAS-Prommer 48ed58c4a8
合并消息的正确存储 2025-09-15 15:21:37 +08:00
SengokuCola 3c7e868d6d fix ruff 2025-09-14 17:25:40 +08:00
SengokuCola d693a2dabb Update expression_learner.py 2025-09-14 17:17:44 +08:00
SengokuCola 328bc796da better:升级自我回复的prompt 2025-09-14 17:14:34 +08:00
SengokuCola 2533a46759 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-09-14 17:10:10 +08:00
SengokuCola 25cd19d8ec better:对replyer进行深度优化 2025-09-14 17:10:07 +08:00
UnCLAS-Prommer d560d02761
echo消息处理 2025-09-14 16:17:44 +08:00
UnCLAS-Prommer ab64eee343
action, command, event_handler易用方法更新,增加语音,混合,转发消息的发送 2025-09-14 00:14:01 +08:00
SengokuCola 9c4681805f better: 优化模型配置和mood 2025-09-13 22:08:29 +08:00
UnCLAS-Prommer 45cc6a7f7d
Merge branch 'dev' of github.com:MaiM-with-u/MaiBot into dev 2025-09-13 18:56:18 +08:00
UnCLAS-Prommer 9ea1b53284
改一下函数位置 2025-09-13 18:55:55 +08:00
SengokuCola 43ac8bee02 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-09-13 15:05:47 +08:00