mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:30:42 +00:00
fix(ci): stabilize media and gateway tests
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user