fix: don't fetch models.dev on completion (#13997)
This commit is contained in:
@@ -122,7 +122,7 @@ export namespace ModelsDev {
|
||||
}
|
||||
}
|
||||
|
||||
if (!Flag.OPENCODE_DISABLE_MODELS_FETCH) {
|
||||
if (!Flag.OPENCODE_DISABLE_MODELS_FETCH && !process.argv.includes("--get-yargs-completions")) {
|
||||
ModelsDev.refresh()
|
||||
setInterval(
|
||||
async () => {
|
||||
|
||||
Reference in New Issue
Block a user