Commit Graph

3382 Commits (093b4c615a2fdfbc39bd72a59867ddd5d6ffef26)

Author SHA1 Message Date
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 b03e245817 test:合并express提取和Jargon提取 2025-12-07 16:24:13 +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 903e0f278a remove:自动频率控制 2025-12-07 11:42:49 +08:00
SengokuCola eb86d3ed43 remove:移除情绪功能 2025-12-07 00:56:06 +08:00
晴空 3e555dd66c
Remove unused _deep_merge function
Removed the _deep_merge function from plugin_routes.py.
2025-12-06 23:20:20 +08:00
晴空 f7ac70fa1e
Add deep_merge function and improve key handling
Add a function to deep merge two dictionaries, allowing src values to overwrite or merge into dst. Update key handling in normalize_dotted_keys to improve logging and handling of empty keys.
2025-12-06 23:12:32 +08:00
晴空 a14e5b84c1
Implement utility functions for plugin config handling
Added utility functions for normalizing dotted keys and coercing types in plugin configuration.
2025-12-06 22:45:38 +08:00
SengokuCola 441fc0b742 feat:优化记忆查询的超时设置 2025-12-06 18:59:45 +08:00
SengokuCola 83ec86f28b config:change some parameters 2025-12-06 15:02:40 +08:00
SengokuCola 553a4123fb fix:不知道为什么一直冒出来 2025-12-06 00:32:50 +08:00
SengokuCola 34825abaa7 fix:表达和聊天配置项为0时bug 2025-12-05 21:23:00 +08:00
SengokuCola bc045a0c85 feat:可配置做梦时间段
Update bot_config_template.toml
2025-12-05 13:53:07 +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 a155194157 Create search_jargon_tool.py 2025-12-04 20:38:49 +08:00
SengokuCola add29efefc better:优化做梦表现 2025-12-04 20:00:20 +08:00
SengokuCola 0399f878f0 config:增加两个配置项,梦起始时间和全局记忆 2025-12-04 19:59:57 +08:00
墨梓柒 12bc661790
feat: 添加模型级别最大token数配置,并更新相关逻辑以支持优先级处理 2025-12-03 11:45:15 +08:00
墨梓柒 6680afaa4a
feat: 更新 token 处理逻辑,清除 Cookie 并要求用户重新登录;保留 first_setup_completed 状态 2025-12-03 11:31:13 +08:00
墨梓柒 f8446e6bf7
Merge pull request #1398 from Ronifue/dev
fix: 修复保存toml时的空行累计bug和注释丢失问题
2025-12-03 10:50:58 +08:00
墨梓柒 d97c6aa948
feat: 添加模型级别温度配置并优化温度优先级处理逻辑 2025-12-03 10:45:20 +08:00
SengokuCola 056a909c77 feat:将是否拦截改为拦截登记 2025-12-03 09:52:23 +08:00
SengokuCola f85c5e9b5f feat :做梦 2025-12-03 01:00:43 +08:00
SengokuCola 7f66d5588d better:优化表达方式提取的token消耗 2025-12-03 00:21:02 +08:00
Ronifue 940e4a5f6b Merge branch 'dev' of https://github.com/Ronifue/MaiBot into dev 2025-12-02 16:21:04 +08:00
Ronifue dd73030919 fix: 简化逻辑 2025-12-02 16:20:44 +08:00
Lofu 07bc84d21f
Merge branch 'Mai-with-u:dev' into dev 2025-12-02 16:11:58 +08:00
SengokuCola 34129bafad fix:ruff 2025-12-02 16:04:18 +08:00
Ronifue 2b7559b8cc fix: 修复保存toml时偶发的空行累计bug和注释丢失问题 2025-12-02 16:00:05 +08:00
SengokuCola 138bd8ec70 feat:优化黑话附加 2025-12-02 15:43:46 +08:00
SengokuCola 8237f1a4c1 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-12-02 15:08:23 +08:00
SengokuCola 138afe41a4 better:加强记忆检索能力 2025-12-02 15:08:20 +08:00
墨梓柒 b79ee9855c
feat: 添加黑话管理路由,支持黑话的增删改查功能 2025-12-02 13:46:16 +08:00
SengokuCola c562ebe97a fix:修复并发导致的重复表达学习问题 2025-12-02 12:47:54 +08:00
墨梓柒 2f61df1cc5
feat: 增强虚拟身份模式支持,添加群 ID 处理和历史记录管理 2025-12-01 23:30:01 +08:00
SengokuCola 188061456c Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-12-01 19:11:02 +08:00
SengokuCola 32755987a0 ref:重构记忆检索流程,略微提高消耗,提高精度 2025-12-01 19:10:48 +08:00
墨梓柒 bf831e9004
Merge pull request #1390 from Ronifue/dev
fix & feat: 修复、修正一些问题
2025-11-30 18:07:53 +08:00
墨梓柒 11f79a73cb
feat: 增强缩略图生成逻辑,支持后台异步生成并返回生成状态 2025-11-30 18:02:16 +08:00
墨梓柒 12151fd95a
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-11-30 17:32:01 +08:00
墨梓柒 50acd8d847
feat: 添加缩略图缓存管理功能,包括生成、清理和统计接口 2025-11-30 17:31:54 +08:00
SengokuCola 2b9975c48e Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-30 16:57:41 +08:00
SengokuCola 3368c38d05 fix:优化部分Log 2025-11-30 16:57:15 +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
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 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
Ronifue 79e8962f6f feat: 使得model_info.extra_params能够单独指定模型的temprature 2025-11-29 18:15:46 +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
墨梓柒 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
墨梓柒 17279c4326
feat: 添加表情包上传和批量上传功能,支持文件类型验证和哈希检查 2025-11-29 02:12:49 +08:00
墨梓柒 321c784434
feat: 增强插件配置管理,添加配置 Schema 和更新接口 2025-11-29 00:01:25 +08:00
墨梓柒 e06a35fe81
feat: 添加提供商连接测试接口,支持通过 URL 和名称验证连接状态 2025-11-28 15:27:58 +08:00
墨梓柒 c78e17406c
feat: 添加 WebUI 聊天室功能,包括消息广播和历史记录管理 2025-11-28 14:18:15 +08:00
SengokuCola 804be2fa96 feat:记忆查询能力提升 2025-11-28 13:33:56 +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
Ronifue a58c54d378 feat: 更加详细的模型API请求错误提示与添加遇到常见的频繁API请求超时的建议 2025-11-27 18:48:51 +08:00
墨梓柒 2f87519faa
feat:修改模型列表获取错误处理,统一使用502状态码响应 2025-11-26 23:02:04 +08:00
墨梓柒 0a0fb8ee55
feat:添加模型列表获取API路由 2025-11-26 22:42:46 +08:00
墨梓柒 1806d802c9
feat:为表情包列表接口添加排序功能 2025-11-26 19:22:51 +08:00
墨梓柒 1bcd37b206
feat:增加聊天名称获取功能和聊天列表接口 2025-11-26 18:30:51 +08:00
SengokuCola 11f2d2dec3 Update config.py 2025-11-26 16:48:20 +08:00
SengokuCola 185d3b7243 feat:可选开启在记忆中使用jargon识别
feat:可选开启在记忆中使用jargon识别
2025-11-26 16:47:38 +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 0baa73aaf5 feat:增加记忆提取能力 2025-11-26 16:09:21 +08:00
SengokuCola 98d6775e62 ref:解耦表情包识别和图片识别 2025-11-26 13:11:45 +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
SengokuCola 3827e3d43c Update jargon_miner.py 2025-11-25 02:39:27 +08:00
SengokuCola a9c29aaf8d fix:图片为被正常构建 2025-11-25 02:24:55 +08:00
SengokuCola 5d9e00c5ea Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-25 01:58:35 +08:00
SengokuCola b684a95fbc feat:升级jargon,提取更快速,更精准 2025-11-25 01:58:31 +08:00
墨梓柒 513182067d
feat: 优化任务调度和插件管理,支持路径规范化及插件 ID 自动生成 2025-11-24 21:29:04 +08:00
SengokuCola 63c093af63 feat:人工学习过的表达会有更高的使用概率 2025-11-24 00:40:37 +08:00
SengokuCola e0b28f9708 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-23 23:02:07 +08:00
SengokuCola 477959f6b5 feat:表达方式主动提问 2025-11-23 23:02:02 +08:00
墨梓柒 d134c85072
优化重启功能,添加延迟重启任务以确保响应已发送 2025-11-22 21:16:18 +08:00
墨梓柒 72a159b2d7
添加知识库图谱可视化 API 路由,并在 WebUI 服务器中注册相关路由 2025-11-22 15:48:05 +08:00
墨梓柒 ad16c4afe9
修改表情包情感字段类型,直接返回字符串,移除 JSON 解析逻辑 2025-11-20 20:55:31 +08:00
SengokuCola 958c0dec6b Update config.py 2025-11-20 20:20:14 +08:00
墨梓柒 4284e0f860
添加独立的 WebUI 服务器支持,重构相关配置和启动逻辑 2025-11-20 19:01:10 +08:00
墨梓柒 367541e165
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-11-20 15:46:07 +08:00