Commit Graph

257 Commits

Author SHA1 Message Date
SengokuCola
503a257d66 remove:无用配置 2026-04-01 13:06:01 +08:00
SengokuCola
a7310916e6 fix:表情包发送无记录,两次wait结果,notice不显示msg_id,展示每次token上下文 2026-04-01 12:36:33 +08:00
DrSmoothl
e7dbaa1a70 汉化日志 2026-03-30 21:56:18 +08:00
SengokuCola
01ef29aadb feat:重构maisaka的消息类型,添加打断功能 2026-03-30 00:45:41 +08:00
SengokuCola
96844a9bf5 feat:修复一些bug 2026-03-29 18:28:56 +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
SengokuCola
5876f246c0 feat:重新启用表达学习黑话学习,黑话使用和表达使用 2026-03-29 14:39:07 +08:00
SengokuCola
20bab79872 ref:移除一些荣誉模块,新建maisaka回复器 2026-03-29 01:00:43 +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
DrSmoothl
a576313b22 Ruff Format 2026-03-13 11:45:26 +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
65f91367c0 Merge pull request #1460 from Qhzy1411/dev
fix: 修复了replyer在群聊中能随机表达风格而在私聊中不行
2025-12-28 00:02:37 +08:00
SengokuCola
ba9b9d26a2 fix:间隔过长的消息在回复器中会特殊处理 2025-12-27 11:54:31 +08:00
青荷芷烟
d57f9771e1 fix: 修复了replyer在群聊中能随机表达风格而在私聊中不行 2025-12-26 18:10:17 +08:00
SengokuCola
7cbc2f1462 remove:移除utils_small模型,统一使用tool_use模型,移除弃用的LLM_judge类型 2025-12-24 19:28:44 +08:00
SengokuCola
0852af49f9 feat;优化了记忆检索的速度和token消耗(将question提出交给planenr) 2025-12-24 18:43:32 +08:00
SengokuCola
3868c58e42 Update private_generator.py 2025-12-24 00:03:25 +08:00
SengokuCola
839a42578c feat:添加回复loig 2025-12-23 21:42:48 +08:00
SengokuCola
8b03ade31a fix:私聊爆炸 2025-12-18 22:11:24 +08:00
SengokuCola
bc2431ce98 黑话提取新模式 2025-12-18 21:01:32 +08:00
SengokuCola
f5b5c009bf fix:使用chat_manager而不是计算cha_id 2025-12-18 21:01:23 +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
SengokuCola
6e9baff87f Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-12-15 00:07:31 +08:00
SengokuCola
3db9fafe65 feat:黑化和表达不会将名字总结进去 2025-12-15 00:05:15 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
SengokuCola
110431e6d2 feat:添加思考深度配置 2025-12-12 23:50:55 +08:00