Commit Graph

3325 Commits (30c27ccd8cb3ee83f1a0cd6d07e4152f27f1863e)

Author SHA1 Message Date
墨梓柒 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
SengokuCola 26784b00a5 better:优化记忆检索占用 2025-11-11 00:40:43 +08:00
SengokuCola 85864c7013 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-10 22:20:18 +08:00
SengokuCola fd19170543 better:美化统计界面 2025-11-10 22:13:25 +08:00
xiaoxi68 12bd9f368d fix(bot): 恢复戳一戳正常响应 2025-11-10 19:04:00 +08:00
SengokuCola f982092fab
Merge pull request #1353 from XXXxx7258/dev
增加配置项,可选是否超出句子数量后,合并全部消息并发出。
2025-11-10 19:02:35 +08:00
晴空 79687b2702
Handle overflow in response splitting logic 2025-11-10 17:59:27 +08:00
晴空 37966f8701
Add enable_overflow_return_all configuration option 2025-11-10 17:57:35 +08:00
SengokuCola 837ecf702b remove:无用代码 2025-11-10 12:46:27 +08:00
SengokuCola 71a2a4282b fix:优化记忆提取和聊天压缩 2025-11-10 12:27:54 +08:00
SengokuCola 10cd2474af better:优化错别字生成和分段 2025-11-10 01:13:02 +08:00
SengokuCola 70cffcc387 update:修正记忆提取llm统计 2025-11-10 00:46:48 +08:00
SengokuCola 53bbda0c07 feat:多样化不知道 2025-11-10 00:30:23 +08:00
SengokuCola 224af22142 better:大幅优化planner消耗 -60% 2025-11-10 00:21:36 +08:00
SengokuCola acf316281b fix:非提及不回复 2025-11-09 20:44:00 +08:00
SengokuCola 9191756412 test:压缩1/3的planner消耗 2025-11-09 18:05:33 +08:00
SengokuCola d5642c6916 fix:prompt问题 2025-11-09 17:49:37 +08:00
SengokuCola 98c85d8d1d fix:修复私聊记忆 2025-11-09 17:35:43 +08:00
SengokuCola 7b3793f366 better:优化log和添加changelog 2025-11-09 14:14:57 +08:00
SengokuCola 7a3f260cc3 feat:添加ReAct记忆提取系统 2025-11-09 14:02:29 +08:00
SengokuCola d761d42dd7 feat:添加聊天记录总结模块 2025-11-09 14:00:27 +08:00
SengokuCola fb1b520e68 better:优化直接提及时的回复速度 2025-11-09 13:59:51 +08:00
SengokuCola 82004567a6 remove:移除问题跟踪和记忆整理 2025-11-09 13:59:15 +08:00
SengokuCola 94405856ff remove:移除relation内容 2025-11-09 13:58:45 +08:00
SengokuCola 605eb636c8 feat:移除表达方式上限,优化replyer prompt 2025-11-07 15:27:04 +08:00
SengokuCola a8f4863d2f feat:添加术语推断和术语理解 2025-11-07 02:21:51 +08:00
SengokuCola 5bde31e512 feat:添加黑话收集器 2025-11-05 00:35:26 +08:00
SengokuCola 03e06c282c feat:可以对不同chat自定义一段额外prompt 2025-11-05 00:35:16 +08:00
SengokuCola a4d43e1aee Update auto_talk_api.py 2025-11-04 21:31:41 +08:00
SengokuCola 6adc972e53 feat:添加主动发言相关api 2025-11-04 21:20:59 +08:00
SengokuCola f3f7b10fb6 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2025-11-03 22:42:06 +08:00
SengokuCola 3e5058eb0f fix:优化记忆提取,提供细节prompt debug项目 2025-11-03 22:41:21 +08:00
SengokuCola 5bcbf9d024
Merge pull request #1341 from exynos967/dev1102
fix(model_utils): HTTP 400 不终止全局尝试,继续切换模型
2025-11-03 15:09:38 +08:00
exynos b63057edec
fix(model_utils): HTTP 400 不终止全局尝试,继续切换模型 2025-11-02 17:33:58 +08:00
xiaoxi68 50e0bc6513 fix(openai): 修复空回复 TypeError(choices=None),并在抛错前输出调试日志 2025-11-01 16:40:36 +08:00
SengokuCola 6d70cf7528
Merge pull request #1336 from exynos967/dev
fix: 撤回通知日志优化并避免二次空日志
2025-10-31 19:58:29 +08:00
墨梓柒 df0aa420d3
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-10-31 14:50:51 +08:00
SengokuCola 24884ee3d1 Update config.py 2025-10-31 14:50:20 +08:00
墨梓柒 2aea5046b0
test x2 2025-10-31 14:50:19 +08:00
墨梓柒 0d5e393bcb
test docker build 2025-10-31 14:40:27 +08:00
xiaoxi68 cb5962f739 fix: 撤回通知日志优化并避免二次空日志 2025-10-30 13:22:29 +08:00
SengokuCola c6dadc2872 fix:截断Log优化 2025-10-30 11:30:48 +08:00
SengokuCola e0aa745ba4 feat:记忆遗忘和动态合并阈值 2025-10-30 11:27:01 +08:00
SengokuCola 1d8b7aa805 update:修改版本号,修改默认max_token,修改hangelog 2025-10-27 16:07:54 +08:00
SengokuCola b54ff61741 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-10-26 23:17:09 +08:00
SengokuCola 5a8779aea4 Update brain_chat.py 2025-10-26 23:17:04 +08:00
SengokuCola 2b09edbe77
Merge pull request #1269 from foxplaying/patch-2
Gemini:修复意外thought输出并增加Search功能和截断提示
2025-10-26 23:07:24 +08:00
SengokuCola 7660be7076 ref:修改默认推荐模型为v3.2和r1 2025-10-26 23:06:11 +08:00
foxplaying 9662d818a7
恢复 2025-10-26 15:01:18 +08:00
SengokuCola c5b9bc4927 better:优化记忆构建和合并 2025-10-25 23:58:58 +08:00
SengokuCola 00c8144d49 better:修改get_memoy tool以处理没有提取到记忆的情况 2025-10-25 22:02:49 +08:00
SengokuCola ea5d08ba54 better:统计现在统计模型名,限制思考长度 2025-10-25 21:31:02 +08:00
SengokuCola ae1f509cdb feat:支持多重人格和切换概率配置 2025-10-25 16:39:59 +08:00
SengokuCola 4cde3d244a
Merge pull request #1318 from foxplaying/patch-3
fix:识图部分空数据清理
2025-10-25 16:21:41 +08:00
foxplaying 560bda4a65
优化 2025-10-25 16:19:49 +08:00
SengokuCola 4e058a5c48 feat:可开关精细动态发言和主动发言规则 2025-10-25 16:15:27 +08:00
foxplaying 1ea3c3eaeb
增加数据清理 2025-10-25 16:11:25 +08:00
SengokuCola 3f7f3da4d1 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-10-25 16:05:58 +08:00
SengokuCola 1971952ac7
Merge pull request #1316 from madoka315/patch-1
【dev】fix: 为内置频率调整添加提示词和约束,修复未达预期效果的误判
2025-10-25 16:05:45 +08:00
SengokuCola ccfd6cc02d
Merge pull request #1300 from Cookie987/dev
提升统计任务容错性(Fix #1288)
2025-10-25 16:02:56 +08:00
SengokuCola fa682ec38f fix:移除vlm的生成限制 2025-10-25 15:59:11 +08:00
SengokuCola bd5fc8969b ref:将make_question从Plugin改为回复前工作;为tool添加chat_id字段 2025-10-25 15:56:17 +08:00
madoka315 7a8d01f8e0
feat: 为内置频率调整添加提示词和约束
此commit用于:解决实践中部分模型经常会输出一大段内容,其中包含“过于频繁”关键字,从而导致内置频率调整器误调整的问题。
2025-10-23 23:29:35 +08:00
magisk317 2f84cb6305 修复图片压缩处理 embedded null byte 异常 2025-10-21 23:34:08 +08:00
foxplaying d5696c12d4
增加Search功能 2025-10-19 00:50:32 +08:00
foxplaying c0a7cc2102
Update gemini_client.py 2025-10-17 23:14:33 +08:00
foxplaying 3231f4f2f8
增加详细输出 2025-10-17 23:11:34 +08:00
Cookie987 2318dbadef Fix #1288
提升统计任务容错性,安全加载 local_storage 数据
2025-10-14 22:52:11 +08:00
SengokuCola 5ee3d7ea43 feat:为问题总结添加过滤提示词 2025-10-14 13:44:36 +08:00
SengokuCola f75c6a130d Update planner.py 2025-10-14 13:24:45 +08:00
SengokuCola a1d84084bf remvoe:移除关系组件 2025-10-14 13:22:31 +08:00
SengokuCola 36d95848d1 feat:内置频率调整,减轻Planner负担 2025-10-14 13:17:08 +08:00
SengokuCola a97d8b4e3d Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-10-14 12:37:04 +08:00
SengokuCola cb500e069a better:优化了表达方式采样 2025-10-14 12:36:23 +08:00
SengokuCola 0dd3e21c79 Update statistic.py 2025-10-14 12:18:07 +08:00
SengokuCola 0b9a7743fc Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-10-14 12:12:09 +08:00
SengokuCola 1cd3a3b283 Update question_maker.py 2025-10-14 12:11:51 +08:00
SengokuCola 10b16947a5 feat:使用通用配置其他平台的id,一处无关代码 2025-10-14 12:08:21 +08:00
exynos ba4465ffbc 同步分支 2025-10-13 16:06:14 +08:00
exynos 817154a72b 标准化“被@”识别与平台解耦:更改 maim_message 以适配tg等后续平台的视频 2025-10-13 16:00:15 +08:00
exynos 47816e305e
将 _handle_action 中的调用从 run() 改为 execute(),与 BaseAction 接口对齐。
将 _handle_action 中的调用从 run() 改为 execute(),与 BaseAction 接口对齐。
2025-10-12 19:19:11 +08:00
SengokuCola d5f17b1f89 fix:未正确过滤up_content 2025-10-12 18:17:19 +08:00
SengokuCola 4be1e2d579 feat:优化目标句格式 2025-10-12 00:18:33 +08:00
SengokuCola d073a215e3 better:优化了表达模型的预测,和表达方式的学习逻辑 2025-10-11 23:44:52 +08:00
SengokuCola 4a074ec374 fix:无关紧要的更新 2025-10-11 20:24:04 +08:00
SengokuCola 958d6e04ee feat:表达方式更新,现在会训练朴素贝叶斯模型来预测使用什么表达 2025-10-11 02:03:03 +08:00
SengokuCola 400296ade1 feat:降低自主发言重复概率 2025-10-10 01:11:10 +08:00
SengokuCola eeadaf4a8c Update database_model.py 2025-10-08 19:43:15 +08:00
SengokuCola f88b479afa fix:修复一些bug 2025-10-08 19:39:54 +08:00
SengokuCola 40fb50249f remove:移除部分兼容函数 2025-10-08 18:50:18 +08:00
SengokuCola 16ae212adc feat:将记忆配置项添加到配置文件 2025-10-08 18:45:06 +08:00
UnCLAS-Prommer 817c4183bf
精简依赖 2025-10-07 23:50:18 +08:00
SengokuCola 19fd667271 Update message.py 2025-10-05 17:34:57 +08:00
SengokuCola 3f321b59c9 fix:修复标题生成问题 2025-10-05 17:13:16 +08:00
SengokuCola e2c40db366 fix:问题不会重复提 2025-10-05 17:03:13 +08:00
SengokuCola f44857d856 better:优化记忆生成 2025-10-05 15:38:13 +08:00