Commit Graph

669 Commits (93e2ac1e138d08489df3fbe39ec2cb18a74708ef)

Author SHA1 Message Date
SengokuCola 46347678b4 feat:非常好的早期聊天记录压缩系统,麦麦现在有5倍上文记忆量(真的吗? 2025-04-14 21:33:27 +08:00
墨梓柒 87ccaf981a fix: typo 2025-04-14 12:16:13 +08:00
SengokuCola 7df9d8da6b fix:PFC消息发送失败 2025-04-13 22:34:19 +08:00
SengokuCola 2a74989204 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-13 21:42:32 +08:00
SengokuCola b97c2b320d fix: improve logger 2025-04-13 21:42:08 +08:00
github-actions[bot] ee4cbc7e96 🤖 自动格式化代码 [skip ci] 2025-04-13 13:19:43 +00:00
SengokuCola 4c21785eb5 Update utils.py 2025-04-13 21:19:31 +08:00
SengokuCola d46f556f6d fix: sync 2025-04-13 21:17:30 +08:00
github-actions[bot] 46da415d98 🤖 自动格式化代码 [skip ci] 2025-04-12 16:46:11 +00:00
tcmofashi 990a7a3c05 feat: 支持外部message重载prompt template 2025-04-12 23:27:31 +08:00
Bakadax e62d533c35 修复未启用私信情况下收到私信报错的bug 2025-04-11 22:31:07 +08:00
UnCLAS-Prommer d2ec170197 尝试彻底修复_execute_request炸飞 2025-04-10 17:01:25 +08:00
SengokuCola 7601bc6a50
Merge branch 'dev' into dev 2025-04-09 20:45:24 +08:00
SengokuCola eaaba4d364 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-09 20:10:58 +08:00
SengokuCola a889d9d222 feat:更好的回复信息收集器 2025-04-09 19:27:23 +08:00
UnCLAS-Prommer f7834400ea Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-09 19:12:47 +08:00
tcmofashi 08e5dd2f7b ruff: 2025-04-09 17:50:54 +08:00
UnCLAS-Prommer e35c2bb9b4 大修_execute_request炸程序的问题 2025-04-09 13:52:12 +08:00
SengokuCola a76437f710 Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev 2025-04-08 23:12:00 +08:00
SengokuCola e3b2d5b88c fix:模块化PFC 2025-04-08 17:38:42 +08:00
春河晴 7840a6080d
ruff reformatted 2025-04-08 15:31:13 +09:00
SengokuCola a195ee1449
Merge pull request #690 from Dax233/pr#588
让提及的识别更精准
2025-04-07 20:55:27 +08:00
SengokuCola 7bbe7c3d61 fix:心情收到人格影响, 2025-04-07 19:25:35 +08:00
Bakadax fda07587a9 去重 2025-04-06 15:26:34 +08:00
Bakadax a3e2604a1c 修复判断 2025-04-06 14:57:09 +08:00
Bakadax 2dd44ec69c pr#588 2025-04-06 14:30:43 +08:00
SengokuCola 915ad8c61a fix:防止初次注册表情包时溢出 2025-04-06 14:22:19 +08:00
meng_xi_pan f3dfee2216 group_info为空的问题 2025-04-06 02:42:03 +08:00
SengokuCola cf87abf113
Merge pull request #655 from na10xi27da/msg_buffer
消息缓冲器
2025-04-05 23:11:42 +08:00
SengokuCola 6c08fed701 fix:解决ban_user失效的问题 2025-04-05 19:02:29 +08:00
SengokuCola 028a087034 fix:彻底修复表情包打字时间炸裂 2025-04-05 18:57:41 +08:00
SengokuCola bd753acd2c fix: 修复表情包打字时间 2025-04-05 12:28:43 +08:00
UnCLAS-Prommer 1dc3f24cfe 增加exception检查与fallback 2025-04-05 11:59:42 +08:00
meng_xi_pan 81acf7afd7 类型小bug 2025-04-05 02:09:10 +08:00
meng_xi_pan aadd494151 优化 2025-04-05 01:54:31 +08:00
meng_xi_pan 02643d729e 合并条件更严格,增加配置选项 2025-04-05 01:00:05 +08:00
SengokuCola 449ac12145 fix:pfc优化,会检查新消息 2025-04-05 00:58:01 +08:00
SengokuCola 6e89534376 fix:pfc多重存在 2025-04-05 00:11:28 +08:00
SengokuCola d108a9ab2a Update bot.py 2025-04-04 21:26:48 +08:00
meng_xi_pan 9ba6c8dacd debug... 2025-04-04 20:31:26 +08:00
meng_xi_pan 132861d16b ruff 2025-04-04 18:24:43 +08:00
meng_xi_pan 40a8db6b17 Merge branch 'refactor' into msg_buffer 2025-04-04 18:07:17 +08:00
tcmofashi a9886400b5 feat: 支持maim_message的websocket连接,以及修复了statistic中的groupname bug 2025-04-04 17:02:43 +08:00
meng_xi_pan 2746072edb 完成消息间隔推断功能 2025-04-04 16:54:58 +08:00
SengokuCola 58a05a6d62 fix 2025-04-04 15:32:51 +08:00
SengokuCola e0c5cf95d0 feat:可以阅读gif 2025-04-04 15:31:56 +08:00
meng_xi_pan 87f3fc7b33 更改处理个人复合消息的逻辑 2025-04-04 14:22:26 +08:00
meng_xi_pan 255d4ea575 修改了一些bug,包括缓冲器对于消息类型的处理,personinfo的拷贝问题,添加用户信息间隔的收集 2025-04-04 13:26:46 +08:00
SengokuCola 0a1c2cccb0 fix:表情包逻辑小改 2025-04-04 11:22:13 +08:00
meng_xi_pan 78b5ee81d6 心流模式完成缓冲功能 2025-04-04 09:48:19 +08:00
SengokuCola 5f8ef67861 fix ruff 2025-04-04 00:56:26 +08:00
SengokuCola cd50a15181 fix:自动清理缓存图片 2025-04-04 00:55:25 +08:00
SengokuCola 6bbd94373a better:现在不会无限制的保存表情包,拥有存储上限 2025-04-04 00:52:44 +08:00
SengokuCola a92aa35e72 better:回复现在依照条数和长度而不是时间引用 2025-04-04 00:30:27 +08:00
meng_xi_pan f5e7181949 添加缓存器文件 2025-04-03 23:06:54 +08:00
SengokuCola e717bc34b0 往debug倒史 2025-04-03 23:03:44 +08:00
SengokuCola 10a72b489e fix:小修改 2025-04-03 22:21:32 +08:00
SengokuCola 06ef607e77 fix:修复willing和表情包不注册 2025-04-03 21:30:53 +08:00
meng_xi_pan 4de6c9ebf6 Merge branch 'refactor' into rel_fix 2025-04-03 15:27:25 +08:00
SengokuCola 9f2fd2bd50 ruff:fix 2025-04-03 00:37:24 +08:00
SengokuCola c1dfbaa5f2 Revert "fix: ruff"
This reverts commit 7cd23900f3.
2025-04-03 00:34:16 +08:00
SengokuCola 7cd23900f3 fix: ruff 2025-04-03 00:32:46 +08:00
SengokuCola 72ceb627af feat: PFC谈话模式,可选择启用,实验性功能 2025-04-02 23:33:24 +08:00
meng_xi_pan 59043abefc 检查是否为冲突导致的bug 2025-04-02 04:20:53 +08:00
meng_xi_pan 5a83edb783 Merge branch 'refactor' into rel_fix 2025-04-02 03:12:46 +08:00
meng_xi_pan 4cce44bced 处理关系的prompt 2025-04-02 02:50:48 +08:00
meng_xi_pan af6f23615e 调整增益参数 2025-04-02 01:09:05 +08:00
meng_xi_pan 8f22612d38 复活吧!我的关系系统,新增正反馈机制 2025-04-02 00:32:22 +08:00
meng_xi_pan 7d4e687017 新增管理个人信息的person_info,将关系值并入其中,通过person_info统一管理,支持扩展 2025-04-02 00:11:16 +08:00
SengokuCola 94ee829e2a fix ruff 2025-04-01 23:06:19 +08:00
SengokuCola 02710a77ef feat:现支持两种独立的回复模式,推理模型和心流 2025-04-01 22:59:35 +08:00
SengokuCola 61c962643e fix:修改了文件结构 2025-04-01 21:48:50 +08:00
SengokuCola 06cf9dbe2c fix:减少赛博朋克日程 2025-04-01 18:42:17 +08:00
SengokuCola 6f3cc2cb55 better:优化了统计信息,会在控制台显示统计信息 2025-03-31 23:26:38 +08:00
SengokuCola ab3413e24b fix ruff 2025-03-31 22:35:54 +08:00
SengokuCola 4c42c90879 better:优化回复逻辑,现在回复前会先思考,移除推理模型再回复中的使用,优化心流运行逻辑,优化思考时间计算逻辑,添加错误检测 2025-03-31 22:34:52 +08:00
tcmofashi 42b1b772ef fix: 修复流式输出问题,以及各种神秘问题 2025-03-31 09:09:30 +08:00
SengokuCola d44817e2a8 fix:新插件适配 2025-03-30 23:45:57 +08:00
SengokuCola cc22351104 feat:添加了心流的配置项 2025-03-30 23:28:33 +08:00
SengokuCola 9e506ea85f better:更新了readme和changlog 2025-03-30 22:23:04 +08:00
Rikki 31935e655b
fix: 修复错误的反斜杠应用 2025-03-30 07:09:19 +08:00
Rikki 8374705082
fix: 修复所有的ruff报错 2025-03-30 07:04:39 +08:00
Rikki b2fc824afd
refactor: 全部代码格式化 2025-03-30 04:56:46 +08:00
SengokuCola 33c09b3d43 Merge branch 'refactor' of https://github.com/MaiM-with-u/MaiBot into refactor 2025-03-30 00:41:17 +08:00
SengokuCola 74836e4f53 fix:微操 2025-03-30 00:40:58 +08:00
tcmofashi 269d7e0c88 Merge remote-tracking branch 'upstream/refactor' into refactor 2025-03-29 23:58:16 +08:00
tcmofashi a2acb56ee6 fix: 修复chatstream中的userinfo和groupinfo初始化 2025-03-29 23:57:50 +08:00
SengokuCola 1641d89ca2 better:给心流添加了自动停止和销毁,节省资源 2025-03-29 23:56:14 +08:00
SengokuCola b8828e81c6 better:更好的心流结构,使用了观察取代外部世界 2025-03-29 23:30:27 +08:00
SengokuCola 803ae55876 Update message_sender.py 2025-03-29 19:45:35 +08:00
SengokuCola 2e0d358d93 fix:让麦麦回复功能正常工作,输出一堆调戏信息 2025-03-29 19:13:32 +08:00
tcmofashi 6dbee3dc56 feat: 增加对消息自定义设置的支持,通过配置"maimcore_reply_probability_gain"字段可提高回复概率 2025-03-29 15:21:07 +08:00
tcmofashi 985b872828 fix: 百分百回复off 2025-03-29 14:46:50 +08:00
tcmofashi 33d794cd1f fix: 修复某些空值错误 2025-03-28 23:30:35 +08:00
tcmofashi 002955359f fix: 修复merge错误 2025-03-28 14:20:27 +08:00
tcmofashi 2602cbbf96 Merge branch 'main-fix' of https://github.com/SengokuCola/MaiMBot into refactor 2025-03-28 12:00:33 +08:00
tcmofashi 965376e103 fix: 更新main 2025-03-28 11:56:13 +08:00
tcmofashi 1fb04c0963 fix: 合并修复 2025-03-28 11:29:30 +08:00
SengokuCola 256bfcf5c2 secret:主动发言 2025-03-28 10:59:22 +08:00
tcmofashi 3eb1601982 Merge remote-tracking branch 'upstream/main-fix' into refactor 2025-03-28 10:56:47 +08:00
SengokuCola 94a554699e better:优化统计和心流提示词 2025-03-28 09:34:21 +08:00
SengokuCola de8d2aba68 fix:优化激活值,优化logger显示 2025-03-28 09:09:30 +08:00
SengokuCola 4a72fe104a fix:ruff 2025-03-28 08:06:50 +08:00
tcmofashi c72e473934 feat: 增加平台支持的url配置 2025-03-28 04:20:45 +08:00
SengokuCola e2ae9645ef fix:兴趣值有待调整 2025-03-28 00:40:52 +08:00
SengokuCola 79e44fb69d
Merge pull request #596 from na10xi27da/relationship
关系系统输出改进(含bug修复)
2025-03-28 00:22:27 +08:00
SengokuCola ce254c73bc fix:修改了意愿 2025-03-28 00:18:36 +08:00
SengokuCola 6128a7f47d better:海马体2.0升级,进度 60%,炸了别怪我 2025-03-28 00:11:32 +08:00
SengokuCola b474da3875 better:海马体2.0升级-进度30% 2025-03-27 22:14:23 +08:00
SengokuCola 2812b0df3c fix:解耦海马体,莲藕促销 2025-03-27 20:07:01 +08:00
tcmofashi 00436c9a96 fix: 取消了取api result 2025-03-27 17:46:05 +08:00
tcmofashi 3caac382a5 fix: 小修 2025-03-27 13:35:52 +08:00
tcmofashi 4c332d0b2f refactor: 初步重构为maimcore 2025-03-27 13:30:46 +08:00
meng_xi_pan 59e1993787 ruff 2025-03-27 07:51:10 +08:00
meng_xi_pan bf8fea15a2 关系系统改进 2025-03-27 07:20:31 +08:00
SengokuCola 8da4729c17 fix ruff 2025-03-27 00:23:13 +08:00
SengokuCola def7ee7ace Update message_sender.py 2025-03-26 23:38:37 +08:00
SengokuCola 572bffc273 better:日志系统现已可以动态更新 2025-03-26 22:42:19 +08:00
SengokuCola 07d891a9d7 Merge pull request #570 from Tianmoy/main-fix
fix:修复docs跳转错误
2025-03-26 13:37:49 +08:00
SengokuCola 681e1aa0fc Merge remote-tracking branch 'origin/main-fix' into think_flow_test 2025-03-26 00:16:56 +08:00
SengokuCola 1b960b32b4 Update __init__.py 2025-03-26 00:03:33 +08:00
SengokuCola 792d65ec1c update 更新日志00.6.0-snapshot-1 2025-03-25 23:47:52 +08:00
SengokuCola f71ce11524 Update prompt_builder.py 2025-03-25 23:11:30 +08:00
SengokuCola 6071317aca Update prompt_builder.py 2025-03-25 23:06:14 +08:00
SengokuCola 83ee182bfe fix ruff 2025-03-25 22:56:39 +08:00
SengokuCola 0ea57c4a58 feat 将心流功能作为 实验功能 2025-03-25 22:40:43 +08:00
SengokuCola 51990391fd better 新增了分割器,表情惩罚系数的自定义 2025-03-25 22:27:38 +08:00
tcmofashi 09c6500d79 refactor: 开始 2025-03-25 22:14:39 +08:00
SengokuCola c220f4c79e better 配置文件整理,防止眼花
123
2025-03-25 21:59:15 +08:00
SengokuCola 01b24d7f8c Revert "Merge branch 'think_flow_test' into main-fix"
This reverts commit 29089d7160, reversing
changes made to d03eef21de.
2025-03-25 17:10:28 +08:00
SengokuCola 29089d7160
Merge branch 'think_flow_test' into main-fix 2025-03-25 15:49:26 +08:00
SengokuCola d03eef21de
Merge pull request #551 from chenflxs/main-fix
修复relationship_value类型错误时的异常
2025-03-25 15:41:47 +08:00
SengokuCola c54dc144bd
Merge pull request #563 from HexatomicRing/emiji-reviewer
补充表情包审查器中的jpeg类型并兼容其它类型
2025-03-25 15:38:02 +08:00
SengokuCola 5dea0c3a16 feat 尝试将回复意愿加入思维流 2025-03-24 23:22:03 +08:00
HexatomicRing 94e2488fe9 给AI大人修正代码风格 2025-03-24 19:27:31 +08:00
UnCLAS-Prommer fdaf8684f4 minor fix 2025-03-24 19:16:27 +08:00
SengokuCola 6c9b04c1be feat 思维流大核+小核 2025-03-24 18:36:03 +08:00
dax 474f2a409e 去除重复人格信息 2025-03-24 08:51:35 +08:00
SengokuCola 6da66e74f6 我要曹飞一切之thinkflow创世纪 2025-03-24 00:23:17 +08:00
SengokuCola 9860ea085e
Merge pull request #559 from MaiM-with-u/main-fix
Main fix
2025-03-23 20:54:57 +08:00
SengokuCola 70fe342f1f
Merge pull request #550 from tcmofashi/main-fix
fix: 修复表情包注册时hash和path不匹配
2025-03-23 20:41:16 +08:00
SengokuCola 68b5fd2fbb
Merge pull request #549 from HexatomicRing/emoji-reviewer
表情包审查器
2025-03-23 20:40:26 +08:00
SengokuCola 9f87cab148 新增思维流 2025-03-23 17:47:17 +08:00
tcmofashi 30d1f776c5 Merge branch 'main-fix' of https://github.com/SengokuCola/MaiMBot into main-fix 2025-03-23 14:07:25 +08:00
SengokuCola 20a06df9e5
Merge pull request #545 from corolin/main-fix-pr
修复在接收到拍一拍消息时,由于某些原因无法获取到消息内容导致异常,且影响到正常消息的获取
2025-03-22 21:14:26 +08:00
tcmofashi e2cecf5abb Merge branch 'main-fix' of https://github.com/SengokuCola/MaiMBot into main-fix 2025-03-22 20:17:41 +08:00
tcmofashi c800be65a3 fix: 解决了60分解法会报错的问题,现在改用5分解法 2025-03-22 20:14:28 +08:00
chenflxs 402b66dd16 修复relationship_value类型错误时的异常 2025-03-22 20:00:39 +08:00
HexatomicRing edfc699c34 表情包审查器
可以给表情包打标签,并编辑描述(同时刷新embedding)
修复丢人的拼写错误
2025-03-22 18:36:27 +08:00
corolin ab72ef855d 修复在接收到拍一拍消息时,由于某些原因无法获取到消息内容导致异常,且影响到正常消息的获取
(cherry picked from commit ac466fbd366a98ba35b3c94880a67faaa95f781a)
2025-03-22 16:40:34 +08:00