fix: call models.dev once instead of twice on start (#20765)

This commit is contained in:
Luke Parker
2026-04-03 11:26:53 +10:00
committed by GitHub
parent 8e9e79d276
commit eb6f1dada8
3 changed files with 45 additions and 15 deletions

View File

@@ -303,7 +303,7 @@ export const ProvidersLoginCommand = cmd({
prompts.outro("Done")
return
}
await ModelsDev.refresh().catch(() => {})
await ModelsDev.refresh(true).catch(() => {})
const config = await Config.get()