You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]:Build script ignores OPENCODE_MODELS_URL env var #11385
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
Description
The runtime respects OPENCODE_MODELS_URL to override the models.dev endpoint (see src/provider/models.ts:84), but the build script in script/build.ts hardcodes https://models.dev/api.json.
This makes it difficult to build in airgapped environments or when using an internal mirror.
Expected behavior
Build script should respect OPENCODE_MODELS_URL like the runtime does.
Current behavior
Build always fetches from https://models.dev/api.json regardless of environment configuration.
Activity
github-actions commentedon Jan 31, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.