Setting baseURL requires provider.anthropic.models #1195

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

Originally created by @ZerGo0 on GitHub (Aug 9, 2025).

Originally assigned to: @thdxr on GitHub.

I want to set the baseURL to an AI Gateway, but I can't because provider.anthropic.models is required. I feel like this shouldn't be required?

Image

Docs Example: https://opencode.ai/docs/providers/#base-url

Originally created by @ZerGo0 on GitHub (Aug 9, 2025). Originally assigned to: @thdxr on GitHub. I want to set the baseURL to an AI Gateway, but I can't because `provider.anthropic.models` is required. I feel like this shouldn't be required? <img width="798" height="87" alt="Image" src="https://github.com/user-attachments/assets/a8269ea7-29e7-407e-a592-3d76ee38c565" /> Docs Example: https://opencode.ai/docs/providers/#base-url
yindo closed this issue 2026-02-16 17:29:58 -05:00
Author
Owner

@thdxr commented on GitHub (Aug 11, 2025):

set it to an empty object - we'll fix this

@thdxr commented on GitHub (Aug 11, 2025): set it to an empty object - we'll fix this
Author
Owner

@rekram1-node commented on GitHub (Aug 29, 2025):

this has been fixed

@rekram1-node commented on GitHub (Aug 29, 2025): this has been fixed
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1195