Commit Graph

3259 Commits (82b9b1da692cecedd372fdbdaa34db35014a3f2e)

Author SHA1 Message Date
墨梓柒 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