Commit Graph

55 Commits

Author SHA1 Message Date
晴猫
be047aa2c3 fix: align sender paths with plan, remove QQ-as-universal fallback
- Remove get_bot_account("qq") fallback from all 4 sender paths
  (plan L108/L208/L449: unknown platform = no account, never substitute QQ)
- Sender paths now error immediately if platform bot account is not configured
- Add detailed comments on filter_bot legacy fallback explaining why
  global user_id match is needed (plan contingency L528 insufficient for
  platform-tagged legacy rows like telegram+qq_account)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 08:25:56 +09:00
晴猫
d3420bd1b3 fix: address second-round review feedback on bot identity PR 2026-03-15 08:05:36 +09:00
晴猫
4f8ab0abb1 fix: address bot identity review regressions 2026-03-15 07:51:31 +09:00
晴猫
267b42001e fix: make bot identity platform-aware 2026-03-15 07:22:08 +09:00
DrSmoothl
84212e8e95 PFC 新版基础模块适配 2026-03-14 01:06:33 +08:00
DrSmoothl
c4a0cc19f8 重构服务模块,优化消息处理逻辑,移除冗余功能,更新数据模型适配 2026-03-14 00:52:10 +08:00
DrSmoothl
4b9c905026 PFC 兼容新版数据模型 2026-03-14 00:36:52 +08:00
DrSmoothl
4bc9c5bf7e 炸 service 层 x 2,把能归类为现有重构好的模块的都归类过去 2026-03-14 00:33:08 +08:00
DrSmoothl
43c5b34623 炸 service 层 2026-03-14 00:13:35 +08:00
DrSmoothl
898fab6de9 部分模块的新数据结构适配 2026-03-13 23:36:17 +08:00
DrSmoothl
a576313b22 Ruff Format 2026-03-13 11:45:26 +08:00
SengokuCola
8f13c4804b remove:移除表达反思功能 2026-03-11 20:52:54 +08:00
UnCLAS-Prommer
46cb0278d7 HFC基本重构框架和TODO 2026-03-11 20:18:30 +08:00
UnCLAS-Prommer
cd81f943e3 炸掉 2026-03-10 13:45:57 +08:00
DrSmoothl
ce8d8dfd0a 重构整个插件系统,尝试恢复可启动性,新增插件系统maibot-plugin-sdk依赖 2026-03-07 19:40:51 +08:00
DrSmoothl
2e3dd44ee9 Refactor chat stream handling to use BotChatSession
- Updated imports and references from ChatStream to BotChatSession across multiple files.
- Adjusted method signatures and internal logic to accommodate the new session management.
- Ensured compatibility with existing functionality while improving code clarity and maintainability.
2026-03-07 00:57:37 +08:00
DrSmoothl
6378bb2052 fix Ruff 2026-02-21 16:29:30 +08:00
DrSmoothl
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +08:00
UnCLAS-Prommer
c9f72f7f2f 修改部分字段含义,维护缓存 2026-02-18 16:00:45 +08:00
DrSmoothl
16b16d2ca6 重构绝大部分模块以适配新版本的数据库和数据模型,修复缺少依赖问题,更新 pyproject 2026-02-13 20:39:11 +08:00
UnCLAS-Prommer
74b852dd8b 根据开发组建议重命名,移除多余的Prompt后缀 2026-02-02 21:10:39 +08:00
UnCLAS-Prommer
f44598a331 全部prompt独立 2026-01-21 22:24:31 +08:00
墨梓柒
7bdd394bf0 将PFC加回来,修复一大堆PFC的神秘报错 2026-01-16 03:36:25 +08:00
墨梓柒
a72bcc4759 初步修复PFC的导入错误 2026-01-07 00:46:38 +08:00
SengokuCola
a8c25cdc15 feat:wait可被打断,不推荐修改私聊planner 2026-01-06 22:40:46 +08:00
SengokuCola
7cbc2f1462 remove:移除utils_small模型,统一使用tool_use模型,移除弃用的LLM_judge类型 2025-12-24 19:28:44 +08:00
SengokuCola
839a42578c feat:添加回复loig 2025-12-23 21:42:48 +08:00
SengokuCola
bc2431ce98 黑话提取新模式 2025-12-18 21:01:32 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
SengokuCola
a0ba073cfb remove:人格的兴趣配置项移动到planner prompt中 2025-12-08 19:24:04 +08:00
SengokuCola
2e31fa2055 feat:复用jargon和expression的部分代码,代码层面合并,合并配置项
缓解bot重复学习自身表达的问题
缓解单字黑话推断时消耗过高的问题
修复count过高时推断过长的问题
移除表达方式学习强度配置
2025-12-07 14:28:30 +08:00
SengokuCola
c3798e1a8d fix:解析动作错误 2025-12-05 13:46:09 +08:00
SengokuCola
541799b1c2 feat:添加结束对话动作 2025-12-05 13:24:02 +08:00
SengokuCola
cef094e125 feat:重构pf brain chat使用react 2025-12-05 01:51:19 +08:00
SengokuCola
95a1712c90 feat:为私聊增加checker和次级回复,更多动作 2025-12-04 23:39:09 +08:00
SengokuCola
056a909c77 feat:将是否拦截改为拦截登记 2025-12-03 09:52:23 +08:00
墨梓柒
3935ce817e Ruff Fix & format 2025-11-29 14:38:42 +08:00
SengokuCola
4a530a7bca fix:planner和replyer正确处理拦截 2025-11-26 16:38:34 +08:00
SengokuCola
265d946ebd feat:正确拦截消息 2025-11-26 16:09:44 +08:00
SengokuCola
477959f6b5 feat:表达方式主动提问 2025-11-23 23:02:02 +08:00
SengokuCola
012e0460e5 feat:记忆遗忘,优化记忆提取 2025-11-12 01:29:11 +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
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
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
958d6e04ee feat:表达方式更新,现在会训练朴素贝叶斯模型来预测使用什么表达 2025-10-11 02:03:03 +08:00
SengokuCola
eaf218ff15 Update brain_chat.py 2025-10-04 14:52:00 +08:00
SengokuCola
dbdf650b1d ref:修改了plan的执行记录展示模式,现在每个动作的执行都会被记录 2025-10-02 20:11:44 +08:00