mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-01 04:11:03 +00:00
fix(regression): align model picker with bundled compat
This commit is contained in:
@@ -287,6 +287,8 @@ async function maybeHandleProviderPluginSelection(params: {
|
||||
config: params.cfg,
|
||||
workspaceDir: params.workspaceDir,
|
||||
env: params.env,
|
||||
bundledProviderAllowlistCompat: true,
|
||||
bundledProviderVitestCompat: true,
|
||||
});
|
||||
pluginResolution = pluginProviders.some(
|
||||
(provider) => normalizeProviderId(provider.id) === normalizeProviderId(params.selection),
|
||||
@@ -315,6 +317,8 @@ async function maybeHandleProviderPluginSelection(params: {
|
||||
config: params.cfg,
|
||||
workspaceDir: params.workspaceDir,
|
||||
env: params.env,
|
||||
bundledProviderAllowlistCompat: true,
|
||||
bundledProviderVitestCompat: true,
|
||||
});
|
||||
}
|
||||
const resolved = resolveProviderPluginChoice({
|
||||
|
||||
Reference in New Issue
Block a user