fix(ci): stabilize media and gateway tests

This commit is contained in:
Peter Steinberger
2026-04-26 01:01:01 +01:00
parent 8e12c24d17
commit f8123e4b68
2 changed files with 4 additions and 2 deletions

View File

@@ -427,7 +427,9 @@ export function resolveModelFromRegistry(params: {
provider: string;
modelId: string;
}): Model<Api> {
const resolvedRef = normalizeModelRef(params.provider, params.modelId);
const resolvedRef = normalizeModelRef(params.provider, params.modelId, {
allowPluginNormalization: false,
});
let model = params.modelRegistry.find(
resolvedRef.provider,
resolvedRef.model,

View File

@@ -108,7 +108,7 @@ describe("gateway server chat", () => {
return await run(dir);
} finally {
testState.sessionStorePath = undefined;
await fs.rm(dir, { recursive: true, force: true });
await fs.rm(dir, { recursive: true, force: true, maxRetries: 5, retryDelay: 50 });
}
};