From c8cc94cd3ca08be802c2a6b17cd9809a2d0d3d69 Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Sun, 25 Jan 2026 12:45:11 +0900 Subject: [PATCH] fix: remove github-copilot association from gpt-5-nano model mapping MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit explore agent uses opencode/gpt-5-nano exclusively — github-copilot should not be associated with gpt-5-nano in docs, tests, or fallback chains. --- docs/configurations.md | 2 +- docs/guide/installation.md | 2 +- src/shared/model-resolver.test.ts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configurations.md b/docs/configurations.md index af5236b9..68b3e876 100644 --- a/docs/configurations.md +++ b/docs/configurations.md @@ -404,7 +404,7 @@ Each agent has a defined provider priority chain. The system tries providers in | **Sisyphus** | `claude-opus-4-5` | anthropic → github-copilot → opencode → antigravity → google | | **oracle** | `gpt-5.2` | openai → anthropic → google → github-copilot → opencode | | **librarian** | `big-pickle` | opencode → github-copilot → anthropic | -| **explore** | `gpt-5-nano` | opencode → anthropic → github-copilot | +| **explore** | `gpt-5-nano` | anthropic → opencode | | **multimodal-looker** | `gemini-3-flash` | google → openai → zai-coding-plan → anthropic → opencode | | **Prometheus (Planner)** | `claude-opus-4-5` | anthropic → github-copilot → opencode → antigravity → google | | **Metis (Plan Consultant)** | `claude-sonnet-4-5` | anthropic → github-copilot → opencode → antigravity → google | diff --git a/docs/guide/installation.md b/docs/guide/installation.md index aed3fdaa..32cced2b 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -183,7 +183,7 @@ When GitHub Copilot is the best available provider, oh-my-opencode uses these mo | ------------- | -------------------------------- | | **Sisyphus** | `github-copilot/claude-opus-4.5` | | **Oracle** | `github-copilot/gpt-5.2` | -| **Explore** | `github-copilot/gpt-5-nano-fast-1`| +| **Explore** | `opencode/gpt-5-nano` | | **Librarian** | `zai-coding-plan/glm-4.7` (if Z.ai available) or fallback | GitHub Copilot acts as a proxy provider, routing requests to underlying models based on your subscription. diff --git a/src/shared/model-resolver.test.ts b/src/shared/model-resolver.test.ts index 495bef45..eb4744e9 100644 --- a/src/shared/model-resolver.test.ts +++ b/src/shared/model-resolver.test.ts @@ -236,9 +236,9 @@ describe("resolveModelWithFallback", () => { // #given const input: ExtendedModelResolutionInput = { fallbackChain: [ - { providers: ["anthropic", "opencode", "github-copilot"], model: "gpt-5-nano" }, + { providers: ["anthropic", "opencode"], model: "gpt-5-nano" }, ], - availableModels: new Set(["opencode/gpt-5-nano", "github-copilot/gpt-5-nano-preview"]), + availableModels: new Set(["opencode/gpt-5-nano"]), systemDefaultModel: "google/gemini-3-pro", }