mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-11 21:41:36 +00:00
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()
|
||||
setInterval(
|
||||
async () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue