fix(ollama): don't auto-pull glm-4.7-flash during Local mode onboarding

This commit is contained in:
Bruce MacDonald
2026-03-17 13:59:44 -07:00
committed by Peter Steinberger
parent 4cc0bb07c1
commit 1ee548da05
4 changed files with 22 additions and 23 deletions

View File

@@ -486,7 +486,8 @@ export async function runSetupWizard(
const modelSelection = await promptDefaultModel({
config: nextConfig,
prompter,
allowKeep: true,
// For ollama, don't allow "keep current" since we may need to download the selected model
allowKeep: authChoice !== "ollama",
ignoreAllowlist: true,
includeProviderPluginSetups: true,
preferredProvider: await resolvePreferredProviderForAuthChoice({