mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-11 01:01:13 +00:00
fix(ollama): don't auto-pull glm-4.7-flash during Local mode onboarding
This commit is contained in:
committed by
Peter Steinberger
parent
4cc0bb07c1
commit
1ee548da05
@@ -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 });
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user