Commit Graph

5844 Commits

Author SHA1 Message Date
SengokuCola
dca53b84fa Update statistic.py 2026-05-06 13:02:17 +08:00
hsd221
f2fa24d5b5 fix(expression): 自动审核结果持久化到数据库
- _evaluate_expression 将审核结果写入 Expression 数据库字段
- _select_expressions 筛选改用 expr.checked 数据库字段
- check_expression_suitability 返回错误时 early-return,不写数据库
- 移除 expression_review_store 内存缓存依赖
2026-05-06 13:02:17 +08:00
Dreamwxz
337170af12 修复方法签名 2026-05-06 13:02:17 +08:00
Dreamwxz
a3f1fffc1c 加入url校验 2026-05-06 13:02:17 +08:00
Dreamwxz
dd4df5ba81 修复 sse_client 不接受 http_client= 参数 2026-05-06 13:02:17 +08:00
Dreamwxz
21a6bf34af 修改Pydantic 模型校验 2026-05-06 13:02:17 +08:00
Dreamwxz
ed34cb8e1a mcp新增sse支持 2026-05-06 13:02:17 +08:00
SengokuCola
0b2620b290 remove:移除部分max_token限制 2026-05-06 13:02:17 +08:00
SengokuCola
371eb5c0f7 remove:移除全局config快照到snapshot防止撑爆环境变量 2026-05-06 13:02:17 +08:00
SengokuCola
55deb36ce4 Merge pull request #1640 from Mai-with-u/dev
Dev
2026-05-05 18:39:02 +08:00
SengokuCola
ab21f97147 更新Webui依赖 2026-05-05 18:38:28 +08:00
SengokuCola
16de259955 perf:优化webui配置展示,优化log显示,修复表达审核 2026-05-05 18:34:20 +08:00
SengokuCola
424287387a Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2026-05-05 17:57:23 +08:00
SengokuCola
a5e4ac8531 pref:优化webui界面,增加prompt模板元信息 2026-05-05 17:57:19 +08:00
SengokuCola
41a2941518 Merge pull request #1637 from Maple127667/codex/fix-empty-tool-arguments
fix: 修复工具空参数解析失败,并规范化模型标识符
2026-05-05 16:43:57 +08:00
SengokuCola
0d43d3ec05 feat:webui默认infoLog,移除display_message字段 2026-05-05 16:39:35 +08:00
Dawn ARC
e8309787d4 fix:使用虚拟环境启动bot.py 2026-05-05 14:51:31 +08:00
Dawn ARC
2abc38abe6 修复docker内环境变量 2026-05-05 14:50:45 +08:00
Dawn ARC
810c4c45ac fix:移除--system参数 2026-05-05 12:51:58 +08:00
Maple_枫溪
9e944f7f85 fix: accept blank tool call arguments
Treat blank OpenAI-compatible tool call arguments as an empty dict so parameterless tools such as finish can execute with providers that return an empty string. Also trim model identifiers during config normalization to avoid leading whitespace leaking into requests and snapshots.
2026-05-05 05:06:26 +08:00
SengokuCola
4f8fc512a7 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2026-05-05 02:05:12 +08:00
SengokuCola
a4afa58fe9 fix:模型加载慢,错误热重载 2026-05-05 02:05:02 +08:00
SengokuCola
d90230c552 Merge pull request #1635 from Blueteemo/fix/issue-1633-emoji-replace-description
fix: 修复表情包替换时emoji_replace prompt模板缺失description参数
2026-05-05 01:02:39 +08:00
SengokuCola
e2ff2c8524 fix:重复保存导致的加载慢问题 2026-05-05 00:52:40 +08:00
SengokuCola
caec568a24 feat:优化插件显示 2026-05-05 00:39:24 +08:00
SengokuCola
4641fa1a15 fix:修复qq号为int的问题,修复部分多行配置问题,修复多语言prompt问题 2026-05-05 00:32:49 +08:00
千岚之夏
bff0413761 fix: 修复表情包替换时缺失description参数导致KeyError 2026-05-04 23:46:52 +08:00
SengokuCola
94a0cb3a62 fix:数字配置读取有问题的问题 2026-05-04 23:09:46 +08:00
SengokuCola
eea95c1961 feat:webui支持更加优化的模型配置,优化多处UI体验,支持设置视觉和cache价格,修复多重表达不生效的问题,修复表情包路径错误 2026-05-04 22:52:41 +08:00
SengokuCola
83fdc3c2e2 Merge pull request #1628 from Mai-with-u/dev
Dev
2026-05-04 18:20:43 +08:00
SengokuCola
14b7bc78a2 无题 2026-05-04 18:20:17 +08:00
DawnARC
df799cdefa fix:更正默认值,避免意料之外的内存占用
用 os.environ.setdefault 将原生库线程数(OMP_NUM_THREADS、OPENBLAS_NUM_THREADS、MKL_NUM_THREADS、NUMEXPR_NUM_THREADS)的默认值设置为 "1"。这样可以确保导入的代码默认不会过度占用 CPU 线程(以及巨量内存)
2026-05-04 18:19:02 +08:00
hsd221
e962326f93 fix: 支持 HTTP 协议和内网地址访问,修复聊天 URL 缺协议前缀问题
- validate_public_url 默认允许 http 和 https 协议
- 移除 _is_forbidden_ip_address 中 is_private 和 is_site_local 拦截,允许内网 IP
- validate_public_url 中无 scheme 时自动补全 http://
- normalize_openai_base_url 中无协议前缀时自动补全 http://
- pyproject.toml 添加 httpx[socks] 依赖以支持 SOCKS 代理
2026-05-04 18:19:01 +08:00
DrSmoothl
ccabcf5e36 feat: 更新maibot-dashboard版本至1.0.4 2026-05-04 18:19:01 +08:00
DrSmoothl
623ba29347 去除锁文件不上传的 ignore 2026-05-04 18:19:01 +08:00
SengokuCola
f57fc1ff80 fear:持续获取maisak监控(壳开关 2026-05-04 18:19:01 +08:00
SengokuCola
ccb1d60e06 feat:优化配置项分类,maisaka聊天流监控展示 2026-05-04 18:19:01 +08:00
SengokuCola
120acb835f fix:优化图片识别,优化webui配置和排版,优化聊天流监控,新增mcp显示,新增prompt修改面板,优化插件状态显示,优化长期记忆控制台, 2026-05-04 18:19:00 +08:00
SengokuCola
c5cd47adc2 feat:模型支持高级配置 2026-05-04 18:18:59 +08:00
SengokuCola
09f6a89b98 Update pyproject.toml 2026-05-04 17:42:40 +08:00
墨梓柒
a62a234971 Merge pull request #1626 from Mai-with-u/dev
dev
2026-05-04 17:19:46 +08:00
DrSmoothl
0723a72848 feat: 更新maibot-dashboard版本至1.0.2 2026-05-04 17:18:45 +08:00
SengokuCola
fb1baed814 Merge pull request #1625 from Mai-with-u/dev
Dev
2026-05-04 12:50:22 +08:00
SengokuCola
d261a818af Merge branch 'main' into dev 2026-05-04 12:49:48 +08:00
SengokuCola
75e9453495 feat:优化webui多个页面的人机交互,修复插件地址问题,放宽插件id限制,增加高级页面缩进,统计页面快捷按钮,优化新手引导 2026-05-04 12:46:55 +08:00
SengokuCola
75665a4d38 Merge branch 'dev' of https://github.com/Mai-with-u/MaiBot into dev 2026-05-03 20:29:07 +08:00
SengokuCola
041ff63fba feat:支持高级配置 2026-05-03 20:28:30 +08:00
SengokuCola
ce224e0a13 Merge pull request #1624 from A-Dawn/feature/a-memorix-disabled-by-default
Feature/a memorix disabled by default
2026-05-03 20:22:17 +08:00
DawnARC
ee6737cd8b fix:修改必要的测试文件的检查位置 2026-05-03 20:17:35 +08:00
DawnARC
87716d18b7 fix:移动A_memorix配置项到botconfig 2026-05-03 20:15:30 +08:00