From 889fc2a685fc71bc230dd6ea66d44679097862ea Mon Sep 17 00:00:00 2001 From: dongsheng123132 <90887123+dongsheng123132@users.noreply.github.com> Date: Thu, 19 Mar 2026 15:25:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20Config.html=20Pro=20=E7=89=88?= =?UTF-8?q?=20+=20=E6=B8=A0=E9=81=93=E5=8D=A1=E7=89=87=E5=B1=95=E5=BC=80?= =?UTF-8?q?=E5=A1=AB=E5=86=99=20+=20Portable=20=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Config.html 全新 Pro 版:3步式配置(选模型→填Key→启动) - Step 3 渠道卡片可展开填写:Telegram / QQ Bot / 飞书 / 企业微信 - 渠道配置启动时自动写入 openclaw.json - main.js 支持 Portable 模式(.app 旁有 portable/ 目录时使用) - hasModelConfigured() 兼容新配置格式 - Node 升级到 v22.16.0 --- portable/Config.html | 1582 +++++++--------------- u-claw-app/package-lock.json | 2135 +----------------------------- u-claw-app/resources/Config.html | 1582 +++++++--------------- u-claw-app/setup.sh | 2 +- u-claw-app/src/main.js | 26 +- 5 files changed, 1050 insertions(+), 4277 deletions(-) diff --git a/portable/Config.html b/portable/Config.html index 47536f5..cda9c94 100644 --- a/portable/Config.html +++ b/portable/Config.html @@ -3,1181 +3,619 @@ -U-Claw 配置助手 +U-Claw Pro — 模型配置
+

🦞 U-Claw Pro

+

便携版 — 选择模型,填入 API Key,一键启动

-

🦞 U-Claw 配置助手

-

简单几步,让你的 AI 助手跑起来

- - -
-
-
正在连接 OpenClaw 网关...
-
- - - - - -
-
- 1选模型 + +
+
1选模型
+
2填 Key
+
3启动
-
- 2聊天平台 -
-
- 3系统设置 -
-
- -
-
+ +

选择 AI 模型

-

选一个模型,填上 API Key,就能用了

+

选择你要使用的模型,推荐国内用户用 MiniMax / Kimi / DeepSeek

-
-
-

DeepSeek 推荐

-

编程首选,性价比最高

+
+
+ +

MiniMax 推荐国内

+

MiniMax-Text-01,速度快,性价比高

+ → 获取 API Key
-
-

Kimi K2.5 推荐

-

256K 上下文,长文档利器

+
+ +

Kimi (月之暗面) 国内

+

moonshot-v1-auto,智能选模型

+ → 获取 API Key
-
-

通义千问 免费

-

阿里云,免费额度大

+
+ +

DeepSeek 国内便宜

+

deepseek-chat,超低价格

+ → 获取 API Key
-
-

智谱 GLM

-

学术、中文 NLP

+
+ +

智谱 GLM 国内有免费

+

glm-5(zai provider),免费额度可用

+ → 获取 API Key
-
-

MiniMax

-

语音、多模态

+
+ +

通义千问 国内有免费

+

qwen-turbo,阿里云出品

+ → 获取 API Key
-
-

豆包 Doubao

-

字节跳动·火山引擎

+
+ +

豆包 (字节) 国内

+

doubao-1.5-pro,字节跳动

+ → 获取 API Key
-
-

硅基流动

-

模型聚合,一个 Key 多模型

+
+ +

OpenAI

+

GPT-4o,需翻墙或中转

+ → 获取 API Key
-
-

Claude

-

Anthropic,综合最强

+
+ +

Claude

+

Claude Sonnet 4,需翻墙或中转

+ → 获取 API Key
-
-

GPT

-

OpenAI,兼容性好

+
+ +

Groq 极快有免费

+

Llama 3.3 70B,超高速推理

+ → 获取 API Key
-
-

Ollama 本地

-

本地运行,完全免费

+
+ +

硅基流动 国内便宜

+

多模型聚合,价格低

+ → 获取 API Key
-
-

🔧 自定义 / API 中转 通用

-

兼容 OpenAI 格式的任意平台(OpenRouter、API2D、New API、One API 等中转站)

+
+ +

自定义 OpenAI 兼容

+

填写任意 OpenAI 兼容 API 地址

- -