Add expectation to match actual API response in tests

This commit is contained in:
Anton Shpigunov
2025-01-31 23:19:17 +02:00
parent 58fdb6f9ef
commit 7329e945b4

View File

@@ -300,6 +300,7 @@ describe("OpenAiNativeHandler", () => {
expect(mockCreate).toHaveBeenCalledWith({ expect(mockCreate).toHaveBeenCalledWith({
model: "o3-mini", model: "o3-mini",
messages: [{ role: "user", content: "Test prompt" }], messages: [{ role: "user", content: "Test prompt" }],
temperature: 0,
}) })
}) })