Commit Graph

87 Commits

Author SHA1 Message Date
SengokuCola
503a257d66 remove:无用配置 2026-04-01 13:06:01 +08:00
SengokuCola
82bbf0fd52 remove:移除tool_use模型,修复Jargon提取问题,修改统计为tool统计 2026-03-29 16:26:34 +08:00
SengokuCola
868438e3c1 feat:移除旧的工具系统,并使emoji成为maisaka内置动作 2026-03-29 15:25:36 +08:00
DrSmoothl
777d4cb0d2 feat: Enhance OpenAI compatibility and introduce unified LLM service data models
- Refactored model fetching logic to support various authentication methods for OpenAI-compatible APIs.
- Introduced new data models for LLM service requests and responses to standardize interactions across layers.
- Added an adapter base class for unified request execution across different providers.
- Implemented utility functions for building OpenAI-compatible client configurations and request overrides.
2026-03-26 16:15:42 +08:00
DrSmoothl
d07915eea0 Refactor message sending architecture and implement legacy driver support
- Removed UniversalMessageSender from group_generator.py and private_generator.py.
- Updated PlatformIOManager to manage legacy send drivers and ensure send pipeline readiness.
- Enhanced LegacyPlatformDriver to utilize prepared messages for sending.
- Refactored send_service to unify message sending logic and integrate with Platform IO.
- Added regression tests for Platform IO legacy driver and send service functionality.
2026-03-24 12:14:41 +08:00
DrSmoothl
85f060621d feat: Add NapCat adapter plugin and enhance message handling
- Introduced a built-in NapCat adapter plugin for MVP message forwarding.
- Implemented core functionalities for connecting to NapCat/OneBot v11 WebSocket service.
- Added message serialization capabilities for WebUI chat routes.
- Enhanced the RegisterPluginPayload to include optional adapter declarations.
- Implemented methods for handling external messages and adapter declarations in the PluginRunner.
- Improved the send_service to inherit platform IO route metadata for outgoing messages.
2026-03-24 12:13:17 +08:00
SengokuCola
03ed59e388 更改文件结构 2026-03-24 11:36:26 +08:00
晴猫
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
172615f18a WebUI 前端 & 后端超级大重构 2026-03-14 21:06:36 +08:00
DrSmoothl
4bc9c5bf7e 炸 service 层 x 2,把能归类为现有重构好的模块的都归类过去 2026-03-14 00:33:08 +08:00
DrSmoothl
898fab6de9 部分模块的新数据结构适配 2026-03-13 23:36:17 +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
eaef7f0e98 Ruff Format 2026-02-21 16:24:24 +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
UnCLAS-Prommer
21bca6b030 更多的prompt独立 2026-01-21 18:18:52 +08:00
UnCLAS-Prommer
761e4c8940 PromptManager再修改,测试更新;将主程序的prompt独立到文件(部分) 2026-01-20 22:15:27 +08:00
UnCLAS-Prommer
3a66bfeac1 恢复可用性 2026-01-16 23:03:45 +08:00
UnCLAS-Prommer
4855cbc265 group_generator适配 2026-01-16 09:28:59 +08:00
SengokuCola
87d4c7c38a remove:移除Planner问题配置项 2026-01-12 00:37:50 +08:00
墨梓柒
3dbb53b73c 统一处理机器人识别逻辑,支持多平台(包括 WebUI) 2025-12-29 21:42:07 +08:00
SengokuCola
ba9b9d26a2 fix:间隔过长的消息在回复器中会特殊处理 2025-12-27 11:54:31 +08:00
SengokuCola
0852af49f9 feat;优化了记忆检索的速度和token消耗(将question提出交给planenr) 2025-12-24 18:43:32 +08:00
SengokuCola
839a42578c feat:添加回复loig 2025-12-23 21:42:48 +08:00
SengokuCola
bc2431ce98 黑话提取新模式 2025-12-18 21:01:32 +08:00
SengokuCola
216c51d7a2 feat:可以关闭回复前黑话自动提取 2025-12-18 17:34:32 +08:00
SengokuCola
11dd9ece13 feat:表达方式可以多种随机 2025-12-18 17:07:54 +08:00
SengokuCola
1e159213cf better:优化分割,优化表达使用,优化Planner选择和联动,优化记忆总结,优化回复Log 2025-12-18 10:52:58 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
SengokuCola
342a1e22c4 feat:仅保留两种思考力度 2025-12-08 20:13:39 +08:00
SengokuCola
910c73be73 feat:默认开启planner replyer联动 2025-12-07 23:54:04 +08:00
SengokuCola
3798933f91 fix:私聊自我回复炸裂 2025-12-07 23:45:54 +08:00
SengokuCola
20c97b9cc9 feat:表达方式根据不同thinking level进分别处理 2025-12-07 23:38:20 +08:00
SengokuCola
d2a4abc33f feat:根据回复力度,启用不同的prompt 2025-12-07 16:45:37 +08:00
SengokuCola
2e31fa2055 feat:复用jargon和expression的部分代码,代码层面合并,合并配置项
缓解bot重复学习自身表达的问题
缓解单字黑话推断时消耗过高的问题
修复count过高时推断过长的问题
移除表达方式学习强度配置
2025-12-07 14:28:30 +08:00
SengokuCola
717b18be1e feat:思考级别控制 2025-12-07 13:20:02 +08:00
SengokuCola
eb86d3ed43 remove:移除情绪功能 2025-12-07 00:56:06 +08:00
SengokuCola
0399f878f0 config:增加两个配置项,梦起始时间和全局记忆 2025-12-04 19:59:57 +08:00
SengokuCola
056a909c77 feat:将是否拦截改为拦截登记 2025-12-03 09:52:23 +08:00
Ronifue
6470d27270 feat: 统一对task中过慢的模型进行警告,并在model_config.toml中设定对应task的慢请求阈值 2025-11-30 01:23:29 +08:00
SengokuCola
4a530a7bca fix:planner和replyer正确处理拦截 2025-11-26 16:38:34 +08:00
SengokuCola
ac51f0c41d feat:修复部分破损json的解析问题 2025-11-26 13:11:34 +08:00
SengokuCola
644d470558 feat:黑话更高的提取率;增加提取准确性
黑话解释现在独立运行,拥有更高的提取率
增加提取准确性
2025-11-25 19:19:52 +08:00
墨梓柒
44f427dc64 Ruff fix 2025-11-19 23:35:14 +08:00
SengokuCola
e9cd9c0bff better:可选是否加入reaon到replyer 2025-11-16 13:00:14 +08:00