|
|
@@ -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).
|