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

@@ -49,7 +49,6 @@ export default definePluginEntry({
},
],
configPatch: result.config,
defaultModel: `ollama/${result.defaultModelId}`,
};
},
runNonInteractive: async (ctx: ProviderAuthMethodNonInteractiveContext) => {
@@ -118,7 +117,7 @@ export default definePluginEntry({
return;
}
const providerSetup = await loadProviderSetup();
await providerSetup.ensureOllamaModelPulled({ config, prompter });
await providerSetup.ensureOllamaModelPulled({ config, model, prompter });
},
});
},