mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-28 17:43:05 +00:00
fix(regression): align provider wizard with bundled compat
This commit is contained in:
@@ -284,6 +284,8 @@ describe("provider wizard boundaries", () => {
|
||||
config,
|
||||
workspaceDir: "/tmp/workspace",
|
||||
env,
|
||||
bundledProviderAllowlistCompat: true,
|
||||
bundledProviderVitestCompat: true,
|
||||
});
|
||||
});
|
||||
|
||||
@@ -431,6 +433,8 @@ describe("provider wizard boundaries", () => {
|
||||
config: {},
|
||||
workspaceDir: "/tmp/workspace",
|
||||
env,
|
||||
bundledProviderAllowlistCompat: true,
|
||||
bundledProviderVitestCompat: true,
|
||||
});
|
||||
expect(matchingHook).toHaveBeenCalledWith({
|
||||
config: {},
|
||||
|
||||
@@ -136,6 +136,8 @@ function resolveProviderWizardProviders(params: {
|
||||
config: params.config,
|
||||
workspaceDir: params.workspaceDir,
|
||||
env,
|
||||
bundledProviderAllowlistCompat: true,
|
||||
bundledProviderVitestCompat: true,
|
||||
});
|
||||
}
|
||||
const cacheKey = buildProviderWizardCacheKey({
|
||||
@@ -153,6 +155,8 @@ function resolveProviderWizardProviders(params: {
|
||||
config: params.config,
|
||||
workspaceDir: params.workspaceDir,
|
||||
env,
|
||||
bundledProviderAllowlistCompat: true,
|
||||
bundledProviderVitestCompat: true,
|
||||
});
|
||||
const ttlMs = resolvePluginSnapshotCacheTtlMs(env);
|
||||
let nextConfigCache = configCache;
|
||||
|
||||
Reference in New Issue
Block a user