diff options
| author | Ryan Vogel <[email protected]> | 2025-12-20 14:51:13 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-12-20 13:51:13 -0600 |
| commit | 6c40bfe04322c14350c9bd3447174986800a57d7 (patch) | |
| tree | a39a8023d0a82510ad6821df0a9931c860868243 | |
| parent | 9caaae6a185957b4dc58d4eadf86d8af8a8fdbd5 (diff) | |
| download | opencode-6c40bfe04322c14350c9bd3447174986800a57d7.tar.gz opencode-6c40bfe04322c14350c9bd3447174986800a57d7.zip | |
docs: clarify model ID format for OpenCode provider (#5854)
| -rw-r--r-- | packages/web/src/content/docs/agents.mdx | 2 | ||||
| -rw-r--r-- | packages/web/src/content/docs/models.mdx | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/web/src/content/docs/agents.mdx b/packages/web/src/content/docs/agents.mdx index e9d4490a1..6c1b15239 100644 --- a/packages/web/src/content/docs/agents.mdx +++ b/packages/web/src/content/docs/agents.mdx @@ -331,6 +331,8 @@ If you don’t specify a model, primary agents use the [model globally configure } ``` +The model ID in your OpenCode config uses the format `provider/model-id`. For example, if you're using [OpenCode Zen](/docs/zen), you would use `opencode/gpt-5.1-codex` for GPT 5.1 Codex. + --- ### Tools diff --git a/packages/web/src/content/docs/models.mdx b/packages/web/src/content/docs/models.mdx index 002f3f558..2077b8e0b 100644 --- a/packages/web/src/content/docs/models.mdx +++ b/packages/web/src/content/docs/models.mdx @@ -60,7 +60,7 @@ OpenCode config. } ``` -Here the full ID is `provider_id/model_id`. +Here the full ID is `provider_id/model_id`. For example, if you're using [OpenCode Zen](/docs/zen), you would use `opencode/gpt-5.1-codex` for GPT 5.1 Codex. If you've configured a [custom provider](/docs/providers#custom), the `provider_id` is key from the `provider` part of your config, and the `model_id` is the key from `provider.models`. |
