summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-10-07 11:50:37 -0500
committerGitHub <[email protected]>2025-10-07 11:50:37 -0500
commitb6c9df970a8c207089efe09292857ec1b7138d7a (patch)
tree3bebd5fd2c00a7465da992cf398b07428e335ead
parent1f725cc3ed8418912a157fb14146fd79cc3066ad (diff)
downloadopencode-b6c9df970a8c207089efe09292857ec1b7138d7a.tar.gz
opencode-b6c9df970a8c207089efe09292857ec1b7138d7a.zip
docs: troubleshooting ProviderModelNotFoundError (#3016)
-rw-r--r--packages/web/src/content/docs/troubleshooting.mdx12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/web/src/content/docs/troubleshooting.mdx b/packages/web/src/content/docs/troubleshooting.mdx
index 98615823a..fb8e964ba 100644
--- a/packages/web/src/content/docs/troubleshooting.mdx
+++ b/packages/web/src/content/docs/troubleshooting.mdx
@@ -86,6 +86,18 @@ Here are some common issues and how to resolve them.
2. Verify the model name in your config is correct
3. Some models may require specific access or subscriptions
+If you encounter `ProviderModelNotFoundError` you are most likely incorrectly
+referencing a model somewhere.
+Models should be referenced like so: `<providerId>/<modelId>`
+
+
+Examples:
+- `openai/gpt-4.1`
+- `openrouter/google/gemini-2.5-flash`
+- `opencode/kimi-k2`
+
+To figure out what models you have access to, run `opencode models`
+
---
### ProviderInitError