mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-15 14:00:46 +00:00
test(live): guard provider scoped gateway path
This commit is contained in:
@@ -2453,7 +2453,7 @@ describeLive("gateway live (dev agent, profile keys)", () => {
|
||||
const useModern = !rawModels || rawModels === "modern" || rawModels === "all";
|
||||
const useExplicit = Boolean(rawModels) && !useModern;
|
||||
const filter = useExplicit ? parseFilter(rawModels) : null;
|
||||
const useProviderScopedBuiltIns = providerList !== null && !useExplicit;
|
||||
const useProviderScopedBuiltIns = Array.isArray(providerList) && !useExplicit;
|
||||
let authProfileStore: AuthProfileStore | undefined;
|
||||
let modelRegistry: LiveModelRegistry;
|
||||
let all: Array<Model<Api>>;
|
||||
|
||||
Reference in New Issue
Block a user