Commit Graph

3320 Commits (0831f160498de999ba108b9ad4e7efa3381916cf)

Author SHA1 Message Date
墨梓柒 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
墨梓柒 948978631d
添加获取和更新麦麦主程序配置原始 TOML 内容的接口 2025-11-20 15:45:56 +08:00
SengokuCola b802b48558 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-20 15:19:31 +08:00
SengokuCola 028d747d7d better:优化planner和replyer协同 2025-11-20 15:18:15 +08:00
墨梓柒 c393044052
添加适配器配置管理接口,包括获取、保存和读取适配器配置路径及内容的功能 2025-11-20 15:05:51 +08:00
SengokuCola 256a5e3cef feat:优化log配置项 2025-11-20 14:48:10 +08:00
SengokuCola 6457df2e61 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-20 01:30:36 +08:00
SengokuCola bf71fe739d fix:emoji使用utils模型而不是replyer 2025-11-20 01:28:16 +08:00
墨梓柒 d7fccfe634
feat: 添加批量删除功能至表情包、表达方式和人物信息管理 API 2025-11-20 01:18:12 +08:00
墨梓柒 44f427dc64
Ruff fix 2025-11-19 23:35:14 +08:00
墨梓柒 9eb893e831
feat: 添加系统控制路由,支持重启和状态查询功能 2025-11-19 22:58:53 +08:00
墨梓柒 d56cb375ec
feat: 添加获取表情包缩略图的 API 路由 2025-11-19 16:21:49 +08:00
墨梓柒 2ca1c8048b
feat: 更新配置文件中的版本号至 0.11.4 2025-11-19 15:44:46 +08:00
墨梓柒 74f9beb231
feat: 添加首次配置状态管理功能,支持获取、标记完成和重置配置状态 2025-11-19 14:59:31 +08:00
墨梓柒 4141c25fdd
feat: add WebSocket plugin progress notification module and integrate with plugin management routes
- Implemented a WebSocket endpoint for broadcasting plugin loading progress.
- Created functions to update and broadcast progress status to connected clients.
- Integrated progress updates into plugin management routes for operations like fetching, cloning, installing, uninstalling, and updating plugins.
- Added error handling and logging for progress updates and WebSocket connections.
2025-11-18 22:54:25 +08:00
SengokuCola 3ed2ddeb91 feat:优化表达方式效果,现在考虑count 2025-11-18 20:55:33 +08:00
SengokuCola e90513bf23 better:优化黑话的提取 2025-11-18 19:56:01 +08:00
SengokuCola 43754b5c18 feat:优化记忆查询表现 2025-11-18 19:38:45 +08:00
SengokuCola a392608b7e fix:表达学习频率加快 2025-11-18 14:18:57 +08:00
SengokuCola ab4052823a fix:记忆提取Prompt重复导致不调用工具的问题 2025-11-18 14:13:52 +08:00
SengokuCola b136a4142c Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-18 01:21:48 +08:00
SengokuCola a41f4694cf better:优化表达方式,现在表达方式会随时间更加精准 2025-11-18 01:21:46 +08:00
墨梓柒 8ad5ff6dba
feat: 修改 WebSocket 日志处理器,推送所有级别的日志 2025-11-18 00:54:56 +08:00
墨梓柒 43e0c9a4ad
feat: 添加 WebSocket 日志推送功能,支持实时日志监控和历史日志加载 2025-11-18 00:38:30 +08:00
墨梓柒 4e03cfac2a
feat: 添加人物信息、表达方式和表情包管理 API 路由 2025-11-17 21:04:29 +08:00
SengokuCola 4a5ca048ad Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-17 18:20:13 +08:00
SengokuCola 0d13b576d7 fix:优化agent模式提取逻辑,修复配置文件版本问题 2025-11-17 18:19:39 +08:00
墨梓柒 9d37bbcba4
feat: 自动检测并设置静态文件的 MIME 类型以支持生产模式 2025-11-17 18:19:27 +08:00
墨梓柒 060ce5d55b
refactor: 优化日志系统关闭流程,使用 print 替代 logger 输出,确保在关闭后仍能记录信息
feat: 添加服务器关闭时的超时处理,避免 shutdown 持续挂起
fix: 更新生产模式设置,使用 Starlette 的 FileResponse 处理静态文件
2025-11-17 17:51:29 +08:00
墨梓柒 6307d92acc
feat: 添加统计数据API路由以支持统计信息的获取 2025-11-17 15:43:11 +08:00
墨梓柒 ab1ef9536b
feat: 添加递归合并字典的辅助函数以保留注释和格式 2025-11-17 12:59:02 +08:00
墨梓柒 ed12fac50e
fix: 修复日志记录器名称和更新配置节接口参数类型 2025-11-17 12:06:42 +08:00
墨梓柒 1c1d8fd3af
feat: 添加配置管理API路由和配置架构 2025-11-17 00:09:17 +08:00
SengokuCola 997183d279 Update memory_retrieval.py 2025-11-16 13:53:36 +08:00
SengokuCola e9cd9c0bff better:可选是否加入reaon到replyer 2025-11-16 13:00:14 +08:00
SengokuCola 68916d1fcb better:优化表达方式选择 2025-11-16 11:35:36 +08:00
SengokuCola bdb69dba83 fix:修复部分问题没有答案却被标记为final answer 2025-11-16 00:29:20 +08:00
SengokuCola db1699566d Update jargon_miner.py 2025-11-16 00:19:18 +08:00
SengokuCola 22dca15f0a planner思考现在加入replyer 2025-11-16 00:16:23 +08:00
SengokuCola 0123d68578 fix:无效推断 2025-11-16 00:15:08 +08:00
SengokuCola 3243b9c725 Update config.py 2025-11-15 19:38:34 +08:00
SengokuCola a2495c7834 remove:移除Exp+model表达方式,一处无用代码,新增配置项 2025-11-15 19:23:50 +08:00
SengokuCola d18d77cf4b feat:查询结果可以建构进jargon和person_info 2025-11-15 19:18:39 +08:00
SengokuCola 04d1aa6763 fix:优化自我识别和情绪 2025-11-15 12:18:45 +08:00
SengokuCola 6ac7c568fd Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-14 23:36:22 +08:00
SengokuCola 4032a2ca9e feat:可记录和查询群昵称 2025-11-14 23:34:28 +08:00
墨梓柒 cae61281a0
feat: 添加 WebUI 模块及相关 API 路由和 Token 管理功能 2025-11-14 23:31:53 +08:00
SengokuCola ff56bd043c feat:加入人物信息检索 2025-11-14 23:14:20 +08:00
SengokuCola ebe224b0a1 fix:bool和boolean问题 2025-11-13 23:43:35 +08:00
SengokuCola e816a4ab4c fix:ruff 2025-11-13 19:03:51 +08:00
SengokuCola d306e40db0 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-13 19:00:59 +08:00
SengokuCola f2819be5e9 feat:lpmm可选接入memory agent,将memory agent改为标准工具格式,修改llm_utils以兼容 2025-11-13 18:55:37 +08:00
SengokuCola e52a81e90b better:优化jargon查询,并且默认全局学习 2025-11-13 17:45:32 +08:00
墨梓柒 7839acd25d
Ruff fix 2025-11-13 13:24:55 +08:00
SengokuCola e78a070fbd fix:修复一些潜在问题 2025-11-13 00:00:17 +08:00
SengokuCola f933139bdb Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-12 01:29:15 +08:00
SengokuCola 012e0460e5 feat:记忆遗忘,优化记忆提取 2025-11-12 01:29:11 +08:00
SengokuCola 11177f04ff
Merge pull request #1354 from exynos967/dev
fix(bot.py): 恢复戳一戳正常响应
2025-11-12 00:41:36 +08:00
SengokuCola 2d6eba7da1 better:优化记忆提取能力 2025-11-11 23:57:47 +08:00
SengokuCola 82a87f4926 better:优化planner,提及时消耗更少,连续no_reply时降低敏感度 2025-11-11 23:57:33 +08:00
SengokuCola 250919f892 fix:回复超长现可返回原文 2025-11-11 23:56:57 +08:00
SengokuCola 33924e65c2 fix:修复超时给到所有信息的Bug 2025-11-11 01:27:26 +08:00
SengokuCola 17e6a215d8 featrue:添加大量新统计指标 2025-11-11 01:19:09 +08:00