Skip to content

Commit 346aba0

Browse files
committed
docs: fix fallback model logic in installation instructions
Update all README files (English, Korean, Japanese, Chinese) to clarify that fallback models should depend on user's available credentials: - If Claude is available: use anthropic/claude-opus-4-5 as fallback - If Claude is NOT available: use opencode/big-pickle as fallback Previously, the fallback logic would hardcode claude-opus-4-5 for ChatGPT and Gemini questions, which would fail if users didn't have Claude access. 🤖 Generated with assistance of OhMyOpenCode
1 parent 2025f7e commit 346aba0

File tree

4 files changed

+172
-84
lines changed

4 files changed

+172
-84
lines changed

README.ja.md

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -156,20 +156,22 @@ Windows から Linux に初めて乗り換えた時のこと、自分の思い
156156

157157
### ステップ 0: セットアップについてユーザーに尋ねる
158158

159-
OpenCode は様々なモデルをサポートしており、当プラグインは様々な最先端 LLM の使用を提案しています。そのため、ユーザーに以下の質問をする必要があります:
159+
OpenCode は様々なモデルをサポートしており、当プラグインは様々な最先端 LLM の使用を提案しています。そのため、ユーザーに以下の質問をする必要があります。
160+
161+
**重要**: ユーザーがどのプロバイダーを持っているか追跡してください。ユーザーが Claude を持っていると確認した場合のみ、`anthropic/claude-opus-4-5` をフォールバックとして使用できます。Claude がない場合は、代わりに `opencode/big-pickle` をフォールバックとして使用してください。
160162

161163
1. **Claude Pro/Max のサブスクリプションをお持ちですか?** お持ちでない場合、メインオーケストレーターモデルとして 'opencode/big-pickle' (GLM 4.6 として知られる) を使用することになります (非推奨)。
162164
- ユーザーが**「はい」**と答えた場合、追加質問: **max20 (20x モード) を使用していますか?**
163-
- **「はい」 (max20)**: ToDo 追加: "ユーザーの Claude Pro/Max 認証設定" — librarian に Claude Sonnet 4.5 をフル使用
164-
- **「いいえ」 (max20 ではない)**: ToDo 追加: "ユーザーの Claude Pro/Max 認証設定"、そして `~/.config/opencode/oh-my-opencode.json` に以下をマージ:
165+
- **「はい」 (max20)**: ToDo 追加: "ユーザーの Claude Pro/Max 認証設定" — librarian に Claude Sonnet 4.5 をフル使用**記憶: Claude がフォールバックとして使用可能。**
166+
- **「いいえ」 (max20 ではない)**: ToDo 追加: "ユーザーの Claude Pro/Max 認証設定"、そして `~/.config/opencode/oh-my-opencode.json` に以下をマージ**記憶: Claude がフォールバックとして使用可能。**
165167
```json
166168
{
167169
"agents": {
168170
"librarian": { "model": "opencode/big-pickle" }
169171
}
170172
}
171173
```
172-
- ユーザーが**「いいえ」** (Claude サブスクリプションなし) と答えた場合、`~/.config/opencode/oh-my-opencode.json` に以下を保存:
174+
- ユーザーが**「いいえ」** (Claude サブスクリプションなし) と答えた場合、`~/.config/opencode/oh-my-opencode.json` に以下を保存。**記憶: Claude は使用不可 — すべてのフォールバックは `opencode/big-pickle` を使用する必要があります。**
173175
```json
174176
{
175177
"agents": {
@@ -179,29 +181,49 @@ OpenCode は様々なモデルをサポートしており、当プラグイン
179181
}
180182
```
181183

182-
2. **ChatGPT のサブスクリプションをお持ちですか?** お持ちでない場合、oracle エージェントに 'anthropic/claude-opus-4-5' を使用することになります
184+
2. **ChatGPT のサブスクリプションをお持ちですか?** お持ちでない場合、oracle エージェントにフォールバックモデルを使用することになります
183185
- ユーザーが**「はい」**と答えた場合、ToDo 追加: "ユーザーの ChatGPT 認証設定"
184-
- ユーザーが**「いいえ」**と答えた場合、`oh-my-opencode.json` に以下をマージ:
185-
```json
186-
{
187-
"agents": {
188-
"oracle": { "model": "anthropic/claude-opus-4-5" }
186+
- ユーザーが**「いいえ」**と答えた場合:
187+
- **Claude が使用可能な場合**: `oh-my-opencode.json` に以下をマージ:
188+
```json
189+
{
190+
"agents": {
191+
"oracle": { "model": "anthropic/claude-opus-4-5" }
192+
}
189193
}
190-
}
191-
```
194+
```
195+
- **Claude が使用不可の場合**: `oh-my-opencode.json` に以下をマージ:
196+
```json
197+
{
198+
"agents": {
199+
"oracle": { "model": "opencode/big-pickle" }
200+
}
201+
}
202+
```
192203

193204
3. **Gemini モデルを統合しますか?** 統合しない場合、美しいデザインを享受できません。
194205
- ユーザーが**「はい」**と答えた場合、ToDo 追加: "Google OAuth 設定"
195-
- ユーザーが**「いいえ」**と答えた場合、`oh-my-opencode.json` に以下をマージ:
196-
```json
197-
{
198-
"agents": {
199-
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
200-
"document-writer": { "model": "anthropic/claude-opus-4-5" },
201-
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
206+
- ユーザーが**「いいえ」**と答えた場合:
207+
- **Claude が使用可能な場合**: `oh-my-opencode.json` に以下をマージ:
208+
```json
209+
{
210+
"agents": {
211+
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
212+
"document-writer": { "model": "anthropic/claude-opus-4-5" },
213+
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
214+
}
202215
}
203-
}
204-
```
216+
```
217+
- **Claude が使用不可の場合**: `oh-my-opencode.json` に以下をマージ:
218+
```json
219+
{
220+
"agents": {
221+
"frontend-ui-ux-engineer": { "model": "opencode/big-pickle" },
222+
"document-writer": { "model": "opencode/big-pickle" },
223+
"multimodal-looker": { "model": "opencode/big-pickle" }
224+
}
225+
}
226+
```
205227

206228
### ステップ 1: OpenCode インストール確認
207229

README.ko.md

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -153,20 +153,22 @@ OpenCode 가 낭만이 사라진것같은 오늘날의 시대에, 당신에게
153153

154154
### 0단계: 사용자에게 설정에 대해 물어보세요.
155155

156-
OpenCode는 다양한 모델을 지원하며, 이 플러그인은 다양한 프론티어 LLM 사용을 제안합니다. 따라서 사용자에게 다음 질문을 해야 합니다:
156+
OpenCode는 다양한 모델을 지원하며, 이 플러그인은 다양한 프론티어 LLM 사용을 제안합니다. 따라서 사용자에게 다음 질문을 해야 합니다.
157+
158+
**중요**: 사용자가 어떤 프로바이더를 가지고 있는지 추적하세요. 사용자가 Claude가 있다고 확인한 경우에만 `anthropic/claude-opus-4-5`를 폴백으로 사용할 수 있습니다. Claude가 없다면 `opencode/big-pickle`을 폴백으로 사용해야 합니다.
157159

158160
1. **Claude Pro/Max 구독이 있으신가요?** 그렇지 않다면 메인 오케스트레이터 모델로 'opencode/big-pickle'(GLM 4.6으로 알려짐)을 사용하게 됩니다 (권장하지 않음).
159161
- 사용자가 **'예'**라고 답하면, 추가 질문: **max20 (20x 모드)를 사용하고 계신가요?**
160-
- **'예' (max20)**: 할 일 추가: "사용자 Claude Pro/Max 인증 설정" — librarian에 Claude Sonnet 4.5 전체 사용
161-
- **'아니오' (max20 아님)**: 할 일 추가: "사용자 Claude Pro/Max 인증 설정", 그리고 `~/.config/opencode/oh-my-opencode.json`에 다음을 병합:
162+
- **'예' (max20)**: 할 일 추가: "사용자 Claude Pro/Max 인증 설정" — librarian에 Claude Sonnet 4.5 전체 사용. **기억: Claude를 폴백으로 사용 가능.**
163+
- **'아니오' (max20 아님)**: 할 일 추가: "사용자 Claude Pro/Max 인증 설정", 그리고 `~/.config/opencode/oh-my-opencode.json`에 다음을 병합. **기억: Claude를 폴백으로 사용 가능.**
162164
```json
163165
{
164166
"agents": {
165167
"librarian": { "model": "opencode/big-pickle" }
166168
}
167169
}
168170
```
169-
- 사용자가 **'아니오'** (Claude 구독 없음)라고 답하면, `~/.config/opencode/oh-my-opencode.json`에 다음을 저장:
171+
- 사용자가 **'아니오'** (Claude 구독 없음)라고 답하면, `~/.config/opencode/oh-my-opencode.json`에 다음을 저장. **기억: Claude 사용 불가 — 모든 폴백은 `opencode/big-pickle`을 사용해야 함.**
170172
```json
171173
{
172174
"agents": {
@@ -176,29 +178,49 @@ OpenCode는 다양한 모델을 지원하며, 이 플러그인은 다양한 프
176178
}
177179
```
178180

179-
2. **ChatGPT 구독이 있으신가요?** 그렇지 않다면 oracle 에이전트에 'anthropic/claude-opus-4-5'를 사용하게 됩니다.
181+
2. **ChatGPT 구독이 있으신가요?** 그렇지 않다면 oracle 에이전트에 폴백 모델을 사용하게 됩니다.
180182
- 사용자가 **'예'**라고 답하면, 할 일 추가: "사용자 ChatGPT 인증 설정"
181-
- 사용자가 **'아니오'**라고 답하면, `oh-my-opencode.json`에 다음을 병합:
182-
```json
183-
{
184-
"agents": {
185-
"oracle": { "model": "anthropic/claude-opus-4-5" }
183+
- 사용자가 **'아니오'**라고 답하면:
184+
- **Claude가 사용 가능한 경우**: `oh-my-opencode.json`에 다음을 병합:
185+
```json
186+
{
187+
"agents": {
188+
"oracle": { "model": "anthropic/claude-opus-4-5" }
189+
}
186190
}
187-
}
188-
```
191+
```
192+
- **Claude가 사용 불가능한 경우**: `oh-my-opencode.json`에 다음을 병합:
193+
```json
194+
{
195+
"agents": {
196+
"oracle": { "model": "opencode/big-pickle" }
197+
}
198+
}
199+
```
189200

190201
3. **Gemini 모델을 통합하시겠습니까?** 그렇지 않다면 아름다운 디자인을 즐길 수 없습니다.
191202
- 사용자가 **'예'**라고 답하면, 할 일 추가: "Google OAuth 설정"
192-
- 사용자가 **'아니오'**라고 답하면, `oh-my-opencode.json`에 다음을 병합:
193-
```json
194-
{
195-
"agents": {
196-
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
197-
"document-writer": { "model": "anthropic/claude-opus-4-5" },
198-
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
203+
- 사용자가 **'아니오'**라고 답하면:
204+
- **Claude가 사용 가능한 경우**: `oh-my-opencode.json`에 다음을 병합:
205+
```json
206+
{
207+
"agents": {
208+
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
209+
"document-writer": { "model": "anthropic/claude-opus-4-5" },
210+
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
211+
}
199212
}
200-
}
201-
```
213+
```
214+
- **Claude가 사용 불가능한 경우**: `oh-my-opencode.json`에 다음을 병합:
215+
```json
216+
{
217+
"agents": {
218+
"frontend-ui-ux-engineer": { "model": "opencode/big-pickle" },
219+
"document-writer": { "model": "opencode/big-pickle" },
220+
"multimodal-looker": { "model": "opencode/big-pickle" }
221+
}
222+
}
223+
```
202224

203225
### 1단계: OpenCode 설치 확인
204226

README.md

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -181,20 +181,22 @@ follow these steps:
181181

182182
### Step 0: Ask user about the setup.
183183

184-
Since OpenCode Supports various models, and our plugin suggests various frontier LLMs. Thus, you must ask user, following questions:
184+
Since OpenCode supports various models, and our plugin suggests various frontier LLMs, you must ask user the following questions.
185+
186+
**IMPORTANT**: Track which providers the user has. Only use `anthropic/claude-opus-4-5` as fallback when the user confirmed they have Claude. If they don't have Claude, use `opencode/big-pickle` as fallback instead.
185187

186188
1. **Do you have a Claude Pro/Max Subscription?** Otherwise, we'll use 'opencode/big-pickle' (known for GLM 4.6) as a main orchestrator model (not recommended)
187189
- If user said **yes**, ask follow-up: **Are you on max20 (20x mode)?**
188-
- If **yes (max20)**: Add ToDo: "Setup user Claude Pro/Max Auth" — full Claude Sonnet 4.5 for librarian
189-
- If **no (not max20)**: Add ToDo: "Setup user Claude Pro/Max Auth", then merge the following to `~/.config/opencode/oh-my-opencode.json`:
190+
- If **yes (max20)**: Add ToDo: "Setup user Claude Pro/Max Auth" — full Claude Sonnet 4.5 for librarian. **Remember: Claude is available for fallbacks.**
191+
- If **no (not max20)**: Add ToDo: "Setup user Claude Pro/Max Auth", then merge the following to `~/.config/opencode/oh-my-opencode.json`. **Remember: Claude is available for fallbacks.**
190192
```json
191193
{
192194
"agents": {
193195
"librarian": { "model": "opencode/big-pickle" }
194196
}
195197
}
196198
```
197-
- If user said **no** (no Claude subscription), merge the following to `~/.config/opencode/oh-my-opencode.json`:
199+
- If user said **no** (no Claude subscription), merge the following to `~/.config/opencode/oh-my-opencode.json`. **Remember: Claude is NOT available — all fallbacks must use `opencode/big-pickle`.**
198200
```json
199201
{
200202
"agents": {
@@ -204,29 +206,49 @@ Since OpenCode Supports various models, and our plugin suggests various frontier
204206
}
205207
```
206208

207-
2. **Do you have a ChatGPT Subscription?** Otherwise, we'll use 'anthropic/claude-opus-4-5' with 32k thinking option for oracle agent.
209+
2. **Do you have a ChatGPT Subscription?** Otherwise, we'll use a fallback model for oracle agent.
208210
- If user said **yes**, add ToDo: "Setup user ChatGPT Auth"
209-
- If user said **no**, merge the following to `oh-my-opencode.json`:
210-
```json
211-
{
212-
"agents": {
213-
"oracle": { "model": "anthropic/claude-opus-4-5" }
211+
- If user said **no**:
212+
- **If Claude is available**: merge the following to `oh-my-opencode.json`:
213+
```json
214+
{
215+
"agents": {
216+
"oracle": { "model": "anthropic/claude-opus-4-5" }
217+
}
214218
}
215-
}
216-
```
219+
```
220+
- **If Claude is NOT available**: merge the following to `oh-my-opencode.json`:
221+
```json
222+
{
223+
"agents": {
224+
"oracle": { "model": "opencode/big-pickle" }
225+
}
226+
}
227+
```
217228

218229
3. **Will you integrate Gemini models?** Otherwise, you cannot enjoy the beautiful design.
219230
- If user said **yes**, add ToDo: "Setup Google OAuth"
220-
- If user said **no**, merge the following to `oh-my-opencode.json`:
221-
```json
222-
{
223-
"agents": {
224-
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
225-
"document-writer": { "model": "anthropic/claude-opus-4-5" },
226-
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
231+
- If user said **no**:
232+
- **If Claude is available**: merge the following to `oh-my-opencode.json`:
233+
```json
234+
{
235+
"agents": {
236+
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
237+
"document-writer": { "model": "anthropic/claude-opus-4-5" },
238+
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
239+
}
227240
}
228-
}
229-
```
241+
```
242+
- **If Claude is NOT available**: merge the following to `oh-my-opencode.json`:
243+
```json
244+
{
245+
"agents": {
246+
"frontend-ui-ux-engineer": { "model": "opencode/big-pickle" },
247+
"document-writer": { "model": "opencode/big-pickle" },
248+
"multimodal-looker": { "model": "opencode/big-pickle" }
249+
}
250+
}
251+
```
230252

231253
### Step 1: Install OpenCode, if not
232254

README.zh-cn.md

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -162,20 +162,22 @@ Install and configure by following the instructions here https://raw.githubuserc
162162

163163
### 步骤 0:摸清用户底细
164164

165-
OpenCode 支持各种模型,我们这个插件也建议用各种前沿 LLM。所以先问清楚:
165+
OpenCode 支持各种模型,我们这个插件也建议用各种前沿 LLM。所以先问清楚。
166+
167+
**重要**:追踪用户有哪些 provider。只有用户确认有 Claude 的情况下,才能用 `anthropic/claude-opus-4-5` 做 fallback。没有 Claude 就用 `opencode/big-pickle` 做 fallback。
166168

167169
1. **有 Claude Pro/Max 订阅吗?** 没有的话,主编排模型只能用 'opencode/big-pickle'(也就是 GLM 4.6),这体验可不太好(不推荐)。
168170
- 用户说****,继续问:**你用的是 max20 (20x 模式) 吗?**
169-
- **是 (max20)**:加个待办:"配置用户 Claude Pro/Max 认证" — librarian 用完整的 Claude Sonnet 4.5
170-
- **不是 (没有 max20)**:加个待办:"配置用户 Claude Pro/Max 认证",然后把这个合并到 `~/.config/opencode/oh-my-opencode.json`
171+
- **是 (max20)**:加个待办:"配置用户 Claude Pro/Max 认证" — librarian 用完整的 Claude Sonnet 4.5**记住:Claude 可以做 fallback。**
172+
- **不是 (没有 max20)**:加个待办:"配置用户 Claude Pro/Max 认证",然后把这个合并到 `~/.config/opencode/oh-my-opencode.json`**记住:Claude 可以做 fallback。**
171173
```json
172174
{
173175
"agents": {
174176
"librarian": { "model": "opencode/big-pickle" }
175177
}
176178
}
177179
```
178-
- 用户说**没有** (没有 Claude 订阅),把这坨配置写到 `~/.config/opencode/oh-my-opencode.json`
180+
- 用户说**没有** (没有 Claude 订阅),把这坨配置写到 `~/.config/opencode/oh-my-opencode.json`。**记住:没有 Claude — 所有 fallback 都得用 `opencode/big-pickle`。**
179181
```json
180182
{
181183
"agents": {
@@ -185,29 +187,49 @@ OpenCode 支持各种模型,我们这个插件也建议用各种前沿 LLM。
185187
}
186188
```
187189

188-
2. **有 ChatGPT 订阅吗?** 没有的话,oracle Agent 就用 'anthropic/claude-opus-4-5' 带 32k thinking 了
190+
2. **有 ChatGPT 订阅吗?** 没有的话,oracle Agent 就用 fallback 模型了
189191
- 用户说**有**,加个待办:"配置用户 ChatGPT 认证"
190-
- 用户说**没有**,把这个合并到 `oh-my-opencode.json`:
191-
```json
192-
{
193-
"agents": {
194-
"oracle": { "model": "anthropic/claude-opus-4-5" }
192+
- 用户说**没有**:
193+
- **有 Claude 的情况下**:把这个合并到 `oh-my-opencode.json`:
194+
```json
195+
{
196+
"agents": {
197+
"oracle": { "model": "anthropic/claude-opus-4-5" }
198+
}
195199
}
196-
}
197-
```
200+
```
201+
- **没有 Claude 的情况下**:把这个合并到 `oh-my-opencode.json`:
202+
```json
203+
{
204+
"agents": {
205+
"oracle": { "model": "opencode/big-pickle" }
206+
}
207+
}
208+
```
198209

199210
3. **要接 Gemini 模型吗?** 不接的话,那么漂亮的 UI 设计你就无福消受了。
200211
- 用户说**要**,加个待办:"配置 Google OAuth"
201-
- 用户说**不要**,把这个合并到 `oh-my-opencode.json`:
202-
```json
203-
{
204-
"agents": {
205-
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
206-
"document-writer": { "model": "anthropic/claude-opus-4-5" },
207-
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
212+
- 用户说**不要**:
213+
- **有 Claude 的情况下**:把这个合并到 `oh-my-opencode.json`:
214+
```json
215+
{
216+
"agents": {
217+
"frontend-ui-ux-engineer": { "model": "anthropic/claude-opus-4-5" },
218+
"document-writer": { "model": "anthropic/claude-opus-4-5" },
219+
"multimodal-looker": { "model": "anthropic/claude-opus-4-5" }
220+
}
208221
}
209-
}
210-
```
222+
```
223+
- **没有 Claude 的情况下**:把这个合并到 `oh-my-opencode.json`:
224+
```json
225+
{
226+
"agents": {
227+
"frontend-ui-ux-engineer": { "model": "opencode/big-pickle" },
228+
"document-writer": { "model": "opencode/big-pickle" },
229+
"multimodal-looker": { "model": "opencode/big-pickle" }
230+
}
231+
}
232+
```
211233

212234
### 步骤 1:确认 OpenCode 装没装
213235

0 commit comments

Comments
 (0)