mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
docs: troubleshooting ProviderModelNotFoundError (#3016)
This commit is contained in:
@@ -86,6 +86,18 @@ Here are some common issues and how to resolve them.
|
|||||||
2. Verify the model name in your config is correct
|
2. Verify the model name in your config is correct
|
||||||
3. Some models may require specific access or subscriptions
|
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
|
### ProviderInitError
|
||||||
|
|||||||
Reference in New Issue
Block a user