bug: error state if small_model is set to unenabled provider #1124

Closed
opened 2026-02-16 17:29:33 -05:00 by yindo · 0 comments
Owner

Originally created by @rekram1-node on GitHub (Aug 5, 2025).

If I set this in my opencode.jsonc:

{
  ...,
 "model": "anthropic/claude-sonnet-4-20250514",
}

And I am not signed into anthropic, opencode will handle it properly and default to a model I do have access to

However, if I set:

{
  ...,
 "small_model": "anthropic/claude-3-5-haiku-20241022",
}

And I am not signed into anthropic, opencode will hang and error out at the title generation step

I think we should gracefully handle it but emit a warning or something

Originally created by @rekram1-node on GitHub (Aug 5, 2025). If I set this in my opencode.jsonc: ```json { ..., "model": "anthropic/claude-sonnet-4-20250514", } ``` And I am not signed into anthropic, opencode will handle it properly and default to a model I do have access to However, if I set: ```json { ..., "small_model": "anthropic/claude-3-5-haiku-20241022", } ``` And I am not signed into anthropic, opencode will hang and error out at the title generation step I think we should gracefully handle it but emit a warning or something
yindo closed this issue 2026-02-16 17:29:33 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1124