fix: don't fetch models.dev on completion (#13997)

pull/14000/head
Caleb Norton 2026-02-17 10:41:03 -06:00 committed by GitHub
parent df59d1412b
commit 47435f6e17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 () => {