Browse Source

Add OpenCode Go preset docs

Alvin Unreal 3 months ago
parent
commit
44e61d1088
2 changed files with 85 additions and 0 deletions
  1. 1 0
      README.md
  2. 84 0
      docs/opencode-go-preset.md

+ 1 - 0
README.md

@@ -507,6 +507,7 @@ Use this section as a map: start with installation, then jump to features, confi
 |-----|----------------|
 | **[Author's Preset](docs/authors-preset.md)** | The author's daily mixed-provider setup |
 | **[$30 Preset](docs/thirty-dollars-preset.md)** | A budget mixed-provider setup for around $30/month |
+| **[OpenCode Go Preset](docs/opencode-go-preset.md)** | The bundled `opencode-go` preset generated by the installer |
 
 ---
 

+ 84 - 0
docs/opencode-go-preset.md

@@ -0,0 +1,84 @@
+# OpenCode Go Preset
+
+`opencode-go` is a bundled generated preset for users who want to run the
+Pantheon agents through OpenCode Go models instead of the default OpenAI setup.
+
+The installer generates both `openai` and `opencode-go` presets. OpenAI stays
+active by default unless you select OpenCode Go during install or switch to it
+later.
+
+## Install with OpenCode Go Active
+
+```bash
+bunx oh-my-opencode-slim@latest install --preset=opencode-go
+```
+
+Then authenticate and refresh models:
+
+```bash
+opencode auth login
+opencode models --refresh
+```
+
+## Switch at Runtime
+
+If both presets are already in your config, switch from inside OpenCode:
+
+```text
+/preset opencode-go
+```
+
+See [Preset Switching](preset-switching.md) for the full runtime switching
+workflow.
+
+## Bundled Model Mapping
+
+The generated `opencode-go` preset maps each specialist to a model tuned for its
+role:
+
+| Agent | Model |
+|-------|-------|
+| Orchestrator | `opencode-go/glm-5.1` |
+| Oracle | `opencode-go/deepseek-v4-pro` (`max`) |
+| Council | `opencode-go/deepseek-v4-pro` (`high`) |
+| Librarian | `opencode-go/minimax-m2.7` |
+| Explorer | `opencode-go/minimax-m2.7` |
+| Designer | `opencode-go/kimi-k2.6` (`medium`) |
+| Fixer | `opencode-go/deepseek-v4-flash` (`high`) |
+
+## Generated Config Shape
+
+Your generated config includes `opencode-go` under `presets` and activates it by
+setting the top-level `preset` field:
+
+```jsonc
+{
+  "preset": "opencode-go",
+  "presets": {
+    "opencode-go": {
+      "orchestrator": { "model": "opencode-go/glm-5.1" },
+      "oracle": {
+        "model": "opencode-go/deepseek-v4-pro",
+        "variant": "max"
+      },
+      "council": {
+        "model": "opencode-go/deepseek-v4-pro",
+        "variant": "high"
+      },
+      "librarian": { "model": "opencode-go/minimax-m2.7" },
+      "explorer": { "model": "opencode-go/minimax-m2.7" },
+      "designer": {
+        "model": "opencode-go/kimi-k2.6",
+        "variant": "medium"
+      },
+      "fixer": {
+        "model": "opencode-go/deepseek-v4-flash",
+        "variant": "high"
+      }
+    }
+  }
+}
+```
+
+For the complete configuration reference, see
+[Configuration](configuration.md).