@@ -56,7 +56,16 @@ This script helps users prepare authentication.
5656
5757It does not print secrets.
5858
59- It opens ` .ai_runtimes.env ` and lets users fill:
59+ It opens ` .ai_runtimes.env ` if users want API-key based auth.
60+
61+ Users can also leave that file empty and use interactive login instead.
62+
63+ It supports:
64+
65+ - API key mode
66+ - auth/login mode
67+
68+ When using API keys, users can fill:
6069
6170- ` OPENAI_API_KEY `
6271- ` ANTHROPIC_API_KEY `
@@ -66,7 +75,7 @@ It opens `.ai_runtimes.env` and lets users fill:
6675这个脚本的作用不是“替你登录账号”,而是:
6776
6877- 统一生成认证配置文件
69- - 让新手知道该填哪些 key
78+ - 让新手知道 API key 只是可选方案之一
7079- 给出交互式登录的备用入口
7180
7281## 5. Two supported auth styles / 两种支持的认证方式
@@ -99,6 +108,20 @@ Best for:
99108- 个人电脑
100109- 第一次快速上手
101110
111+ Typical examples:
112+
113+ - ` openclaw configure ` or ` openclaw onboard `
114+ - ` gemini `
115+ - ` codex login `
116+ - ` claude auth login `
117+
118+ 常见命令示例:
119+
120+ - ` openclaw configure ` 或 ` openclaw onboard `
121+ - ` gemini `
122+ - ` codex login `
123+ - ` claude auth login `
124+
102125## 6. Important runtime note / 一个重要细节
103126
104127This project makes the bot launch script load ` .ai_runtimes.env ` automatically.
@@ -125,16 +148,24 @@ It now reports whether these four AI CLIs are available.
125148- Codex CLI 是否安装
126149- Claude Code 是否安装
127150
151+ It does not treat an empty API key file as a hard failure, because auth/login may still be valid.
152+
153+ 它不会把“API key 为空”直接判成失败,因为用户也可能走 auth/login。
154+
128155## 8. Recommended rule for beginners / 给小白的推荐规则
129156
130157If you are a beginner:
131158
1321591 . let ` install.sh ` install the tools
133- 2 . fill ` .ai_runtimes.env `
160+ 2 . choose either:
161+ - fill ` .ai_runtimes.env `
162+ - or complete auth/login interactively
1341633 . only then continue to bot token configuration
135164
136165如果你是第一次装:
137166
1381671 . 先让 ` install.sh ` 装 4 个 AI CLI
139- 2 . 再填 ` .ai_runtimes.env `
168+ 2 . 再二选一:
169+ - 填 ` .ai_runtimes.env `
170+ - 或者完成 auth/login
1401713 . 最后再去填 bot token 和启动服务
0 commit comments