Skip to content

Commit 21d458d

Browse files
authored
Merge pull request #97 from clawfleet/fix/codex-unavailable
fix: mark Codex OAuth unavailable, promote OpenAI API key
2 parents 833b1a7 + 026f0a4 commit 21d458d

4 files changed

Lines changed: 11 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
curl -fsSL https://clawfleet.io/install.sh | sh
2626
```
2727

28-
5 minutes: Docker installed, image pulled, dashboard running at `http://localhost:8080`. Log in with your ChatGPT account — your existing Plus subscription covers inference, no API keys needed.
29-
30-
> **Not affected by the 2026-04-04 Claude subscription policy change.** ClawFleet's recommended path uses ChatGPT (Codex OAuth) — your existing ChatGPT Plus/Pro subscription works as-is. No migration needed.
28+
5 minutes: Docker installed, image pulled, dashboard running at `http://localhost:8080`. Connect any model provider with a single API key — every instance runs in its own Docker container with full isolation.
3129

3230
[![Install Demo](https://img.youtube.com/vi/jE5ZR8g477s/maxresdefault.jpg)](https://youtu.be/jE5ZR8g477s)
3331
[![▶ Watch Install Demo (30s)](https://img.shields.io/badge/▶_Watch_Install_Demo-30s-red?style=for-the-badge&logo=youtube)](https://youtu.be/jE5ZR8g477s)
@@ -38,7 +36,7 @@ curl -fsSL https://clawfleet.io/install.sh | sh
3836

3937
- **Sandboxed instances** — each OpenClaw runs in its own Docker container, isolated from your host and from each other. No rogue skill can read your files
4038
- **Browser dashboard** — create, configure, monitor, and destroy instances without touching a terminal
41-
- **ChatGPT login**authenticate with your existing ChatGPT account, or use API keys from OpenAI, Anthropic, Google AI Studio, DeepSeek
39+
- **Any LLM provider**connect with a single API key from OpenAI, Anthropic, Google AI Studio, or DeepSeek
4240
- **Version pinning** — lock a tested OpenClaw version so upstream breaking changes don't touch you
4341
- **Fleet management** — spin up as many instances as your RAM allows, each with different models, personas, and channels
4442
- **Character system** — define reusable personas (bio, backstory, style, traits) and assign them to instances

README.zh-CN.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
curl -fsSL https://clawfleet.io/install.sh | sh
2626
```
2727

28-
5 分钟:Docker 自动安装、镜像拉取完毕、Dashboard 在 `http://localhost:8080` 运行。用 ChatGPT 账号登录——已有的 Plus 订阅即可驱动推理,无需 API Key。
29-
30-
> **不受 2026-04-04 Claude 订阅策略变更影响。** ClawFleet 推荐使用 ChatGPT (Codex OAuth) —— 你现有的 ChatGPT Plus/Pro 订阅直接可用,无需迁移。
28+
5 分钟:Docker 自动安装、镜像拉取完毕、Dashboard 在 `http://localhost:8080` 运行。一个 API Key 即可接入任意模型供应商——每个实例独立运行在 Docker 容器中,完全隔离。
3129

3230
[![安装演示](https://img.youtube.com/vi/jE5ZR8g477s/maxresdefault.jpg)](https://youtu.be/jE5ZR8g477s)
3331
[![▶ 观看安装演示 (30秒)](https://img.shields.io/badge/▶_观看安装演示-30秒-red?style=for-the-badge&logo=youtube)](https://youtu.be/jE5ZR8g477s)
@@ -38,7 +36,7 @@ curl -fsSL https://clawfleet.io/install.sh | sh
3836

3937
- **沙箱隔离** — 每个 OpenClaw 跑在独立 Docker 容器中,与宿主机和其他实例完全隔离。恶意技能无法读取你的文件
4038
- **浏览器管理** — 创建、配置、监控、销毁实例,全程无需触碰终端
41-
- **ChatGPT 登录**用已有的 ChatGPT 账号认证,或使用 OpenAI、Anthropic、Google AI Studio、DeepSeek 的 API Key
39+
- **多供应商支持**一个 API Key 接入 OpenAI、Anthropic、Google AI Studio 或 DeepSeek
4240
- **版本锁定** — 锁定已测试的 OpenClaw 版本,上游 breaking changes 与你无关
4341
- **军团管理** — 按内存允许的数量创建实例,每个可配置不同模型、人设和频道
4442
- **人设系统** — 定义可复用的角色人设(简介、背景、风格、特征),赋予每个实例

internal/web/static/js/components/model-asset-dialog.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function ModelAssetDialog({ model, onClose, onSave, addToast }) {
1616
const isCodex = (model?.provider === 'openai-codex');
1717

1818
const [name, setName] = useState(model?.name || '');
19-
const [provider, setProvider] = useState(model?.provider || 'openai-codex');
19+
const [provider, setProvider] = useState(model?.provider || 'openai');
2020
const [apiKey, setApiKey] = useState(model?.api_key || '');
2121
const [selectedModel, setSelectedModel] = useState(model?.model || '');
2222
const [customModel, setCustomModel] = useState('');
@@ -178,17 +178,17 @@ export function ModelAssetDialog({ model, onClose, onSave, addToast }) {
178178
${t('configure.provider')}
179179
<select class="form-input" value=${provider} onChange=${(e) => handleProviderChange(e.target.value)}
180180
disabled=${isEdit && isCodex}>
181-
<option value="openai-codex">ChatGPT (Codex)${t('image.recommended')}</option>
182-
<option value="openai">OpenAI</option>
181+
<option value="openai">OpenAI${t('image.recommended')}</option>
182+
<option value="openai-codex">ChatGPT (Codex) ⚠️</option>
183183
<option value="anthropic">Anthropic</option>
184184
<option value="google">Google AI Studio</option>
185185
<option value="deepseek">DeepSeek</option>
186186
</select>
187187
</label>
188188
189189
${isCodexProvider && html`
190-
<p style="margin:8px 0 4px;color:var(--text-secondary);font-size:0.85rem">
191-
${t('assets.codexHint')}
190+
<p style="margin:8px 0 4px;color:#f59e0b;font-size:0.85rem">
191+
⚠️ ${t('assets.codexUnavailable')}
192192
</p>
193193
`}
194194

internal/web/static/js/i18n.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ const messages = {
113113
'assets.codexSuccess': 'ChatGPT connected',
114114
'assets.codexAccount': 'Account',
115115
'assets.codexHint': 'Uses your ChatGPT Plus/Pro subscription — flat-rate, no per-token billing.',
116+
'assets.codexUnavailable': 'Currently unavailable — upstream Cloudflare restriction. Use OpenAI API key instead.',
116117
'assets.codexNeedModel': 'Please select a model first.',
117118
'assets.customModel': 'Custom...',
118119
'assets.customModelName':'Custom Model Name',
@@ -336,6 +337,7 @@ const messages = {
336337
'assets.codexSuccess': 'ChatGPT 已连接',
337338
'assets.codexAccount': '账户',
338339
'assets.codexHint': '使用你的 ChatGPT Plus/Pro 订阅 — 固定费率,无按量计费。',
340+
'assets.codexUnavailable': '当前不可用 — 上游 Cloudflare 限制。请改用 OpenAI API Key。',
339341
'assets.codexNeedModel': '请先选择模型。',
340342
'assets.customModel': '自定义...',
341343
'assets.customModelName':'自定义模型名称',

0 commit comments

Comments
 (0)