docs: troubleshooting ProviderModelNotFoundError (#3016)

pull/2790/head
Aiden Cline 2025-10-07 11:50:37 -05:00 committed by GitHub
parent 1f725cc3ed
commit b6c9df970a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 0 deletions

View File

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