소스 검색

docs: clarify model ID format for OpenCode provider (#5854)

Ryan Vogel 8 달 전
부모
커밋
3fdeee126a
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 0
      packages/web/src/content/docs/agents.mdx
  2. 1 1
      packages/web/src/content/docs/models.mdx

+ 2 - 0
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

+ 1 - 1
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`.