hfshfg
8981c21262
fix(config): 移除 gateway.auth.scopes,修复保存后 gateway 起不来
Config.html 生成的 openclaw.json 里 gateway.auth 带 scopes:['operator.admin'],
被 OpenClaw 2026.6.x 的 strict schema 拒绝(gateway.auth: Invalid input),
导致用户选完模型保存后 gateway 启动失败。三个 Config 页统一为
{ mode:'local', auth:{ mode:'token', token:'uclaw' }, remote:{ token:'uclaw' } },
与服务页 public/index.html 及启动脚本默认配置对齐。
实测:虾盘云 Key + deepseek-v4-pro 直连 api.u-claw.org/v1 返回 200;
去 scopes 后 gateway 正常启动并加载 uclaw-cloud provider。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-20 15:51:26 +08:00
..
2026-06-20 12:16:42 +08:00
2026-06-20 12:16:42 +08:00
2026-06-17 22:45:59 +08:00
2026-06-20 15:51:26 +08:00
2026-03-10 22:10:28 +08:00
2026-03-14 17:37:00 +08:00
2026-03-12 14:02:53 +08:00
2026-03-14 17:37:00 +08:00
2026-06-15 12:27:13 +08:00
2026-06-20 12:16:42 +08:00
2026-06-17 11:47:19 +08:00
2026-06-15 12:27:13 +08:00
2026-05-30 12:58:01 +08:00
2026-05-02 17:07:42 +08:00
2026-06-17 12:02:48 +08:00
2026-03-12 11:18:43 +08:00
2026-04-09 22:05:09 +08:00
2026-03-12 18:50:55 +08:00
2026-04-01 09:31:16 +08:00
2026-05-19 14:30:34 +08:00
2026-06-15 12:29:45 +08:00
2026-06-20 12:16:42 +08:00