fix: don't fetch models.dev on completion (#13997)
This commit is contained in:
parent
df59d1412b
commit
47435f6e17
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
ModelsDev.refresh()
|
||||||
setInterval(
|
setInterval(
|
||||||
async () => {
|
async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue