mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 11:37:49 +00:00
fix(ci): stabilize media and gateway tests
This commit is contained in:
parent
8e12c24d17
commit
f8123e4b68
2 changed files with 4 additions and 2 deletions
|
|
@ -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 });
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue