Commit Graph

72 Commits

Author SHA1 Message Date
SengokuCola
f2b64cc58c remove:无用配置,整理配置文件 2026-04-07 14:30:23 +08:00
SengokuCola
526fc9b763 feat:优化表情包注册,迁移数据库v3 2026-04-05 20:12:21 +08:00
SengokuCola
499abe89aa Update emoji_manager.py 2026-04-05 15:17:53 +08:00
SengokuCola
d82b37a08f feat:修复gemini tool问题,简化表情包识别,修复非多模态plan图片识别 2026-04-05 14:50:52 +08:00
DrSmoothl
2fb911a8d5 feat: 添加启动绑定地址解析功能,支持从配置文件和环境变量迁移 2026-04-04 20:13:04 +08:00
SengokuCola
ce580d1f8b feat:可以查看转发消息,新增复杂消息,修复表情包缓存,修改bot自己的消息回调msg_id 2026-04-03 20:55:49 +08:00
DrSmoothl
1906890b67 feat: add unified WebSocket connection manager and routing
- Implemented UnifiedWebSocketManager for managing WebSocket connections, including subscription handling and message sending.
- Created unified WebSocket router to handle client messages, including authentication, subscription, and chat session management.
- Added support for logging and plugin progress subscriptions.
- Enhanced error handling and response structure for WebSocket operations.
2026-04-02 22:08:52 +08:00
DrSmoothl
0a08973c41 feat: Enhance emoji and image management with asynchronous background processing
- Added support for scheduling background tasks to build emoji and image descriptions when not found in cache.
- Improved error handling and logging for emoji and image processing.
- Updated `SessionMessage` processing to allow for optional heavy media analysis and voice transcription.
- Refactored logging messages for better clarity and consistency across various modules.
- Introduced a new function to build outbound log previews for messages, enhancing logging capabilities.
2026-03-26 23:03:47 +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
28afa6f2c2 refactor: 添加类型注解以增强代码可读性 2026-03-16 23:01:29 +08:00
DrSmoothl
a40d28a409 feat: 添加 EmojiManager 的配置热重载功能及其注销机制 2026-03-16 22:58:53 +08:00
UnCLAS-Prommer
0d07e85434 全新的process方法完成(Message其他部分仍未完成);对应测试;调整部分注释;数据库检索优化 2026-02-23 21:29:17 +08:00
UnCLAS-Prommer
119241f251 PersonInfoModel; 修改部分方法参数和部分文件位置;移除多余文件;炸毁可启动性 2026-02-21 15:54:03 +08:00
UnCLAS-Prommer
0a572515ba 表情管理器调整,减少计算 2026-02-19 00:04:53 +08:00
UnCLAS-Prommer
537b24c24e 获取和注册一体化修正 2026-02-18 21:34:56 +08:00
UnCLAS-Prommer
c9f72f7f2f 修改部分字段含义,维护缓存 2026-02-18 16:00:45 +08:00
UnCLAS-Prommer
75e154741d 方法名调整;确保公共属性被定义 2026-02-15 22:56:26 +08:00
UnCLAS-Prommer
5799ce7efe 新功能 2026-02-15 13:29:56 +08:00
UnCLAS-Prommer
6dc33e9e86 提取一些公共方法 2026-02-15 00:18:16 +08:00
UnCLAS-Prommer
b9f3c17e14 合并到远程 2026-02-13 13:41:58 +08:00
UnCLAS-Prommer
4ff070c08e 新表情包系统;对应的测试;TODO更新;Prompt拆分;工具拆分 2026-02-04 22:23:41 +08:00
SengokuCola
8e7a2aecae fix:修复黑话提取的学习缓存 2025-12-27 19:43:46 +08:00
墨梓柒
e680a4d1f5 Ruff format 2025-12-13 17:14:09 +08:00
Zayrex
1273f7a6ab Fix emoji emotion parsing for different delimiters 2025-12-12 10:56:01 +08:00
Zayrex
9e89501888 Fix emotion parsing by replacing Chinese commas
Replace Chinese comma with English comma in emotion parsing.
2025-12-12 10:16:01 +08:00
SengokuCola
3368c38d05 fix:优化部分Log 2025-11-30 16:57:15 +08:00
SengokuCola
ac51f0c41d feat:修复部分破损json的解析问题 2025-11-26 13:11:34 +08:00
墨梓柒
7839acd25d Ruff fix 2025-11-13 13:24:55 +08:00
SengokuCola
03e06c282c feat:可以对不同chat自定义一段额外prompt 2025-11-05 00:35:16 +08:00
SengokuCola
3e5058eb0f fix:优化记忆提取,提供细节prompt debug项目 2025-11-03 22:41:21 +08:00
墨梓柒
163dbb6b90 超级Ruff 2025-09-09 19:25:12 +08:00
Eric-Terminal
71e485ae76 fix: 修复 emoji 管理器中的一个 bug 2025-08-21 11:21:17 +08:00
UnCLAS-Prommer
43190b12d2 防炸 2025-08-11 11:29:05 +08:00
SengokuCola
1515cef487 fix:必要性修复 2025-08-11 01:08:42 +08:00
UnCLAS-Prommer
6c0edd0ad7 调整对应的调用 2025-07-30 17:07:55 +08:00
SengokuCola
29e1d6efae feat:修复emoji和图片的缓存
Update send_api.py
2025-07-25 21:03:27 +08:00
SengokuCola
6c91b95314 better:新增log前缀映射,优化emoji的显示,加强了emoji的识别 2025-07-24 04:54:47 +08:00
UnCLASPrommer
b5fd959fe1 ruff, typing, api, bug fix 2025-07-15 16:50:29 +08:00
墨梓柒
e1433f7cfc test actions 2025-07-13 18:15:51 +08:00
UnCLAS-Prommer
b303a95f61 部分类型注解修复,优化import顺序,删除无用API文件 2025-07-12 00:34:49 +08:00
SengokuCola
f17f5cf46c feat:修改log,优化关系构建逻辑,节省token, 2025-07-08 02:04:31 +08:00
github-actions[bot]
56593b502c 🤖 自动格式化代码 [skip ci] 2025-06-25 12:39:39 +00:00
SengokuCola
2a06070ba9 fix:清理images文件夹 2025-06-25 18:42:30 +08:00
github-actions[bot]
40c5763864 🤖 自动格式化代码 [skip ci] 2025-06-16 05:48:17 +00:00
SengokuCola
2cbd9745d2 fix:优化表情包ascii问题 2025-06-16 13:47:25 +08:00
github-actions[bot]
b9c3cd8ab3 🤖 自动格式化代码 [skip ci] 2025-06-14 17:45:19 +00:00
SengokuCola
3130b76320 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-06-15 01:45:04 +08:00
SengokuCola
fe19406187 fix:再次尝试修复模式 2025-06-15 01:44:41 +08:00
github-actions[bot]
86be17405a 🤖 自动格式化代码 [skip ci] 2025-06-14 17:28:38 +00:00
SengokuCola
327580dbec fix:ai哥神秘修复无法模式切换 2025-06-15 01:27:54 +08:00