Skip to content

Commit 1ec62c1

Browse files
committed
fix(openai): cast choice with message field in aggregated refusal test
1 parent 51ce773 commit 1ec62c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/ai/src/providers/openai-completions.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ describe("openai-completions stop-reason tool-call guard", () => {
15001500
index: 0,
15011501
message: { role: "assistant", refusal: "I cannot comply with that request." },
15021502
finish_reason: "stop",
1503-
},
1503+
} as never,
15041504
],
15051505
},
15061506
];

0 commit comments

Comments
 (0)