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
The MODELS_DEV_API_JSON environment variable has been configured but is ineffective. #9758
I am in an offline environment where I already have a privately deployed LLM, and I have configured the provider in the opencode.json file.
Version 1.0.137 is functioning properly.
@donbing007 : just to confirm, you downloaded from https://models.dev/api.json (note file name: api.json) and placed that contents in the cache directory under a file named 'models.json', right?
@donbing007 : just to confirm, you downloaded from https://models.dev/api.json (note file name: api.json) and placed that contents in the cache directory under a file named 'models.json', right?
Yes, we have successfully prevented opencode from attempting to access the network and running it.
Activity
github-actions commentedon Jan 21, 2026
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
donbing007 commentedon Jan 21, 2026
I simply downloaded the models.json file and placed it in the .cache/opencode directory, and that solved the problem.
lomori commentedon Jan 23, 2026
@donbing007 : just to confirm, you downloaded from https://models.dev/api.json (note file name: api.json) and placed that contents in the cache directory under a file named 'models.json', right?
donbing007 commentedon Jan 30, 2026
Yes, we have successfully prevented opencode from attempting to access the network and running it.