Skip to content

Commit b57adf3

Browse files
committed
test(api): assert two-arg create call with abort signal in the Fable 5.1 temperature spec
The upstream/main sync (v3.82.0) brought in the Fable 5.1 temperature spec with a single-argument create assertion written against the pre-PR call shape. This branch's abort-signal change calls chat.completions.create(body, { signal }), so the assertion was stale and failed platform-unit-test (ubuntu-latest). Add the expected second argument as objectContaining({ signal: expect.any(AbortSignal) }), matching the sibling Fable 5 test.
1 parent 3ff6877 commit b57adf3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/api/providers/__tests__/vercel-ai-gateway.spec.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ describe("VercelAiGatewayHandler", () => {
417417
model: "anthropic/claude-fable-5.1",
418418
temperature: undefined,
419419
}),
420+
expect.objectContaining({ signal: expect.any(AbortSignal) }),
420421
)
421422
})
422423

0 commit comments

Comments
 (0)