-
Notifications
You must be signed in to change notification settings - Fork 4.6k
feature: experimental.skip_models_fetch setting (resolves #4959) #4985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: experimental.skip_models_fetch setting (resolves #4959) #4985
Conversation
|
going to test something ignore |
|
/review |
|
Doesn't quite work right yet: errors after 1 hour when the refresh should happen. Back to draft status until fixed. Simply removing this timer event is not an option: this feature must not change any behaviour for users who do not choose to use the new Not enabling the timer event in the first place when |
…tomatic refreshes from models.dev in environments it is inaccessible for whatever reason'
… function Claude tried to add.
3255c8c to
886a467
Compare
|
Redid this using a simpler and more concise strategy that avoids the 1 hour error by simply not registering the timer event in the first place when |
…ch-setting-take-6
…ch-setting-take-6
…ch-setting-take-6
…ch-setting-take-6
d6e99d8 to
aab1b75
Compare
…nomalyco#6528)" This reverts commit 97a0fd1.
…iane-emory/opencode into feat/skip-models-fetch-setting-take-6
|
An environment variable has been added that allows disabling the automatic models fetch. Closing this PR as it is no longer needed. |
Resolves #4959.
This PR adds an
experimental.skip_models_fetchsetting.If true, opencode will not automatically fetch an updated models list from models.dev.
The user can still manually trigger fetching an updated models list from models.dev with an
opencode models --refreshcommand if they so choose.