Commit Graph

4760 Commits (dc95ea25a21489bff256d917433320d157e1a150)

Author SHA1 Message Date
墨梓柒 99f80c08da
WebUI d2dd4a0dd1a527574ded4a09e6c113175858d306 2025-11-30 16:06:16 +08:00
墨梓柒 c790dcb705
feat: Enhance authentication mechanism to support token retrieval from both Cookie and Header
- Added a new auth module to manage authentication-related functions.
- Updated existing routes in expression_routes, person_routes, plugin_routes, and routes to utilize the new authentication methods.
- Implemented CORS middleware in webui_server for development environment support.
- Introduced functions to set and clear authentication cookies.
- Enhanced token verification to prioritize Cookie over Header for improved security and flexibility.
2025-11-30 15:53:39 +08:00
Ronifue 9b6ca0e0a5 fix: 修复lpmm_search_knowledge工具中limit参数定义错误 2025-11-30 14:24:51 +08:00
Ronifue 505fda5350 Merge branch 'dev' of https://github.com/Ronifue/MaiBot into dev 2025-11-30 01:28:55 +08:00
Ronifue 2a67631b59 Merge branch 'dev' of https://github.com/Ronifue/MaiBot into dev 2025-11-30 01:28:40 +08:00
Lofu d23cc4a2e3
Merge branch 'Mai-with-u:dev' into dev 2025-11-30 01:25:30 +08:00
Ronifue 6470d27270 feat: 统一对task中过慢的模型进行警告,并在model_config.toml中设定对应task的慢请求阈值 2025-11-30 01:23:29 +08:00
Ronifue 78f3b75352 feat: 统一对task中过慢的模型进行警告,并在model_config.toml中设定对应task的慢请求阈值 2025-11-29 21:50:49 +08:00
Ronifue dc84366bb5 fix: “#” 后面一定要加空格 2025-11-29 20:47:39 +08:00
Ronifue 2db6399910 fix: 修正logger 2025-11-29 20:40:07 +08:00
Ronifue e6d1a6e87b feat: 为所有LLM的请求异常添加原始错误显示 2025-11-29 20:22:25 +08:00
SengokuCola fdc0a87c31 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-29 20:06:49 +08:00
SengokuCola e609632455 fix:修复表情包不保存的问题/新增统计项目 2025-11-29 20:06:18 +08:00
Ronifue 11aeb906ac fix: 修复WebUI重启后无法使用Ctrl+C停止Maibot的问题 2025-11-29 19:59:23 +08:00
Lofu 3640416ad0
Merge branch 'Mai-with-u:dev' into dev 2025-11-29 18:19:50 +08:00
Ronifue 79e8962f6f feat: 使得model_info.extra_params能够单独指定模型的temprature 2025-11-29 18:15:46 +08:00
墨梓柒 71edeb6be5
WebUI 6d7893532be0e517db84fbdd0c2cc5a0f53b17c4 2025-11-29 17:53:58 +08:00
墨梓柒 991306b04a
Merge pull request #1389 from Ronifue/dev
feat: 新增 TOML 格式化工具,优化配置文件保存格式
2025-11-29 17:06:50 +08:00
Lofu b1047c36f5
Merge branch 'Mai-with-u:dev' into dev 2025-11-29 16:19:17 +08:00
Ronifue 08c0b5929e fix: 修正一个Maibot遇不到但是不能涵盖Toml整个格式的问题 2025-11-29 16:16:31 +08:00
Ronifue f68b9aa109 feat: 对自动化处理的toml进行格式化,以及修复通知消息导致的报错 2025-11-29 15:53:33 +08:00
墨梓柒 a0870a8392
禁用模型的思考功能 2025-11-29 14:57:42 +08:00
墨梓柒 6a8a4176a0
Disable push triggers in ruff.yml
Comment out push triggers for main and dev branches.
2025-11-29 14:54:15 +08:00
墨梓柒 26639e7ae5
Enable push trigger for Ruff workflow
Uncomment push trigger for main and dev branches
2025-11-29 14:47:57 +08:00
墨梓柒 ed68f969c1
Ruff fix x3 final fix 2025-11-29 14:43:22 +08:00
墨梓柒 163d527f3c
Ruff fix x2 2025-11-29 14:39:32 +08:00
墨梓柒 3935ce817e
Ruff Fix & format 2025-11-29 14:38:42 +08:00
墨梓柒 d7932595e8
feat: 使用 tomlkit 替换 toml,增强配置文件的读取和写入功能,保留注释和格式 2025-11-29 14:24:10 +08:00
墨梓柒 ccda410ab4
feat: 更新 requirements.txt,添加 python-multipart 依赖 2025-11-29 13:13:25 +08:00
墨梓柒 17279c4326
feat: 添加表情包上传和批量上传功能,支持文件类型验证和哈希检查 2025-11-29 02:12:49 +08:00
墨梓柒 3357ab0d1d
WebUI d17d667711a0784d255bbb27e1c296d02216b644 2025-11-29 00:23:54 +08:00
墨梓柒 321c784434
feat: 增强插件配置管理,添加配置 Schema 和更新接口 2025-11-29 00:01:25 +08:00
墨梓柒 e06a35fe81
feat: 添加提供商连接测试接口,支持通过 URL 和名称验证连接状态 2025-11-28 15:27:58 +08:00
墨梓柒 3d1f26ae1b
WebUI cf0eb78ac449cbbcda285bc83b96c816bec627cf 2025-11-28 14:18:51 +08:00
墨梓柒 c78e17406c
feat: 添加 WebUI 聊天室功能,包括消息广播和历史记录管理 2025-11-28 14:18:15 +08:00
SengokuCola 2b29ba360f Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-28 13:34:02 +08:00
SengokuCola 804be2fa96 feat:记忆查询能力提升 2025-11-28 13:33:56 +08:00
墨梓柒 51bf81f1e2
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-11-28 02:09:45 +08:00
墨梓柒 ca645b3ae1
WebUI 889fcb00b1af0ba298fb14fa0657f1c22ff63334 2025-11-28 02:09:37 +08:00
SengokuCola 76d8659910 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-28 01:29:40 +08:00
SengokuCola f8477e573e ref:重构历史消息记录概括器
支持分话题提取
更智能的截断
支持文件缓存
支持要点提取
2025-11-28 01:29:35 +08:00
SengokuCola b041b6a7f7
Merge pull request #1387 from Ronifue/dev
feat: 更加详细的模型API请求错误提示与添加遇到常见的频繁API请求超时的建议
2025-11-27 19:32:24 +08:00
Ronifue a58c54d378 feat: 更加详细的模型API请求错误提示与添加遇到常见的频繁API请求超时的建议 2025-11-27 18:48:51 +08:00
墨梓柒 f34912298b
Merge pull request #1385 from infinitycat233/dev
feat: docker-compose.yml更新webui所需的adapter配置文件映射
2025-11-27 15:49:42 +08:00
infinitycat 6c8ca7ab25
feat: docker-compose.yml更新webui所需的adapter配置文件映射 2025-11-27 13:03:57 +08:00
墨梓柒 fa4555197d
WebUI 18bb7ff7015141afded1d28cc99e4615d18dd09e 2025-11-26 23:05:32 +08:00
墨梓柒 2f87519faa
feat:修改模型列表获取错误处理,统一使用502状态码响应 2025-11-26 23:02:04 +08:00
墨梓柒 0a0fb8ee55
feat:添加模型列表获取API路由 2025-11-26 22:42:46 +08:00
墨梓柒 74d563ad38
WebUI 5a11901efb3835ed1b221bf502430625454b4681 2025-11-26 21:56:20 +08:00
墨梓柒 1806d802c9
feat:为表情包列表接口添加排序功能 2025-11-26 19:22:51 +08:00