[PR #4653] fix: add explicit fallback model and prevent direct opencode provider calls #11058

Closed
opened 2026-02-16 18:15:50 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4653

State: closed
Merged: Yes


  • Add fallbackModel parameter to getSmallModel() to provide explicit fallback
  • Check opencode provider availability before using gpt-5-nano model
  • Update callers in prompt.ts and summary.ts to use current model as fallback
  • Prevent errors when opencode provider is disabled
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4653 **State:** closed **Merged:** Yes --- - Add fallbackModel parameter to getSmallModel() to provide explicit fallback - Check opencode provider availability before using gpt-5-nano model - Update callers in prompt.ts and summary.ts to use current model as fallback - Prevent errors when opencode provider is disabled
yindo added the pull-request label 2026-02-16 18:15:50 -05:00
yindo closed this issue 2026-02-16 18:15:50 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11058