墨梓柒
3231995ebd
feat: 增强 WebUI 配置,支持防爬虫和安全 Cookie 设置
2025-12-19 00:44:22 +08:00
UnCLAS-Prommer
d3b71a7181
Merge pull request #1386 from A-Dawn/feat-lpmm知识库加强
...
LPMM 知识库删除能力与自检脚本增强(附关键健壮性修复)
2025-12-18 22:56:12 +08:00
陈曦
164915ab65
Update bot_config_template.toml
2025-12-18 22:40:13 +08:00
陈曦
ae334c3572
feat:为模型迁移新增 embedding_helper 操作
...
在 lpmm_manager.py 中引入了一个新的 embedding_helper 操作,用于辅助嵌入(embedding)模型的迁移。该操作会显示当前使用的嵌入模型及其维度,提供迁移指导,并安全地归档 embedding_model_test.json 文件。同时还更新了交互式菜单,并在 bot_config_template.toml 中新增了一个占位用的 [dream] 配置节。
2025-12-18 22:37:02 +08:00
SengokuCola
8b03ade31a
fix:私聊爆炸
2025-12-18 22:11:24 +08:00
SengokuCola
f709f8738b
Update bot_config_template.toml
2025-12-18 21:56:20 +08:00
SengokuCola
bc2431ce98
黑话提取新模式
2025-12-18 21:01:32 +08:00
SengokuCola
f5b5c009bf
fix:使用chat_manager而不是计算cha_id
2025-12-18 21:01:23 +08:00
陈曦
f41c2113dc
feat:为 LPMM 流水线脚本添加非交互模式
...
为 info_extraction.py、import_openie.py、delete_lpmm_items.py 以及新增的 lpmm_manager.py 引入统一的 --non-interactive 参数,使其能够在 CI 和自动化场景下实现完全脚本化、无交互运行。新增了一个功能完整的命令行管理脚本(lpmm_manager.py)以及一份详细的用户指南(lpmm_pipelines_guide.md)。同时,更新了 test_lpmm_retrieval.py,以支持通过 CLI 自定义测试用例,并改进了整个流水线中的错误处理和用户提示。最后,从文档和代码中移除了 ppr_relation_cap 参数。
2025-12-18 20:40:05 +08:00
Dawn ARC
20c9cbad3e
Merge branch 'dev' into feat-lpmm知识库加强
2025-12-18 18:58:10 +08:00
SengokuCola
216c51d7a2
feat:可以关闭回复前黑话自动提取
2025-12-18 17:34:32 +08:00
SengokuCola
11dd9ece13
feat:表达方式可以多种随机
2025-12-18 17:07:54 +08:00
SengokuCola
2b81f79ef1
Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev
2025-12-18 16:39:30 +08:00
SengokuCola
f7a2f2329a
better:优化表达方式学习和分割
2025-12-18 16:39:16 +08:00
墨梓柒
81122fb4bb
WebUI 072fabb7bdbc33d1ff6e0b14b27b78bc9943a263
2025-12-18 14:43:34 +08:00
SengokuCola
dd891c4b18
Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev
2025-12-18 14:42:30 +08:00
tcmofashi
858f50a959
Merge pull request #1444 from tcmofashi/dev
...
fix: 再次修复消息发送
2025-12-18 14:41:21 +08:00
SengokuCola
249ce08cfb
Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev
2025-12-18 14:38:36 +08:00
墨梓柒
e46e93e0b6
feat: 添加插件原始配置的获取和更新接口,支持配置文件备份
2025-12-18 14:02:16 +08:00
tcmofashi
7ad97158c4
fix: 再次修复消息发送
2025-12-18 13:50:50 +08:00
SengokuCola
4946a98dae
Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev
2025-12-18 13:06:56 +08:00
tcmofashi
c79115c4ff
Merge pull request #1443 from tcmofashi/dev
...
fix: 修复消息发送
2025-12-18 12:27:26 +08:00
tcmofashi
b82389e4a2
fix: 修复消息发送
2025-12-18 12:21:33 +08:00
SengokuCola
093b4c615a
fix:只显示一次log输出
2025-12-18 10:58:53 +08:00
SengokuCola
becc87930d
Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev
2025-12-18 10:53:02 +08:00
SengokuCola
1e159213cf
better:优化分割,优化表达使用,优化Planner选择和联动,优化记忆总结,优化回复Log
2025-12-18 10:52:58 +08:00
tcmofashi
dc95ea25a2
Merge pull request #1432 from tcmofashi/dev
...
feat: 支持maim_message api-server模式
2025-12-17 15:26:13 +08:00
墨梓柒
8dba63eb5c
WebUI 1c92841f8a9b5cde9b780d1df7166741d6f35de9
2025-12-16 17:38:40 +08:00
墨梓柒
eec503ae31
Merge branch 'dev' of https://github.com/MaiM-with-u/MaiBot into dev
2025-12-16 17:35:53 +08:00
SengokuCola
3ea775af92
Update config.py
...
Update changelog.md
2025-12-16 15:03:38 +08:00
SengokuCola
52e3e9c297
feat:修复提及必回
2025-12-16 14:59:04 +08:00
墨梓柒
48f2d1c33c
feat: 增强 Cookie 设置日志,提供 HTTPS 配置建议
2025-12-16 13:19:47 +08:00
墨梓柒
a5880522e7
feat: 增强认证 Cookie 设置,支持协议检测和跳过注释行
2025-12-16 13:04:37 +08:00
墨梓柒
4482be7142
feat: 更新认证 Cookie 设置和状态检查日志记录
2025-12-16 12:50:13 +08:00
墨梓柒
6d26d9a484
WebUI e0704348d911820fa0192bae825f32cd86a5066d
2025-12-15 02:01:08 +08:00
SengokuCola
6e9baff87f
Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev
2025-12-15 00:07:31 +08:00
SengokuCola
3db9fafe65
feat:黑化和表达不会将名字总结进去
2025-12-15 00:05:15 +08:00
墨梓柒
74a2f4346a
Ruff Format
2025-12-14 21:39:09 +08:00
墨梓柒
ee4cb3dc67
Merge pull request #1440 from A-Dawn/dev
...
bug:修复前端认证错误处理401导致无法登录的问题
2025-12-14 21:29:09 +08:00
Dawn ARC
1660e5bd59
Merge branch 'Mai-with-u:dev' into dev
2025-12-14 21:27:57 +08:00
陈曦
debc39bacf
bug:修复前端认证错误处理401导致无法登录的问题
...
修改 get_ws_token 的行为:当认证缺失或已过期时,返回 HTTP 200 且 success=False,而不是 401。这样可以避免用户停留在登录页面时,前端因收到 401 而不必要地刷新页面。
2025-12-14 21:27:04 +08:00
墨梓柒
639b209803
Merge pull request #1439 from A-Dawn/dev
...
feat(WebUI):增加防爬虫、资产扫描检测中间件与 IP 白名单功能
2025-12-14 21:24:08 +08:00
陈曦
c3c5bc337d
Update webui_server.py
2025-12-14 21:00:18 +08:00
Dawn ARC
72786687b9
Merge branch 'Mai-with-u:dev' into dev
2025-12-14 20:26:21 +08:00
墨梓柒
317e545896
WebUI 4768188cd73f78618bcc1b87ddd872e0fa55da4f
2025-12-14 20:15:50 +08:00
墨梓柒
c2a6d491c6
添加 robots.txt 路由,禁止搜索引擎索引,增强隐私保护;为 HTML 文件添加防索引头
2025-12-14 20:11:16 +08:00
墨梓柒
6055b087f0
添加 WebSocket 认证模块,支持临时 token 认证机制,增强安全性并解决 Cookie 不可用问题
2025-12-14 20:08:49 +08:00
陈曦
bccef9f104
feat:增强反爬虫的 IP 清理机制和静态资源校验
...
优化 IP 清理逻辑,完整扫描并清除最旧或空的 IP 记录,从而提升内存管理效果。更新静态资源的放行规则,改为基于路径前缀进行限制,并从允许的扩展名中移除 .json,以防止通过静态资源规则绕过 API。进一步明确 X-Forwarded-For 的信任逻辑,并更新相关环境变量的注释,提供更清晰的配置指引。
2025-12-14 19:56:11 +08:00
陈曦
97c872f4f2
feat:增强反爬虫中间件,对受信任代理提供支持
...
重构反爬虫逻辑,使用 deque 存储请求时间戳,以提升性能和内存管理效率。新增通过 WEBUI_TRUSTED_PROXIES 和 WEBUI_TRUST_XFF 配置受信任代理的支持,从而实现对 X-Forwarded-For 请求头的选择性信任。将可疑请求头的检测限制在特定请求头范围内,减少误判。更新 template.env,新增与代理相关的环境变量。
2025-12-14 19:47:07 +08:00
墨梓柒
ea420f9f59
添加认证依赖和请求频率限制模块,增强安全性和防止API滥用
2025-12-14 19:39:56 +08:00