From 7329e945b474cbb58c6e6a4aead33ba62f2394a1 Mon Sep 17 00:00:00 2001 From: Anton Shpigunov Date: Fri, 31 Jan 2025 23:19:17 +0200 Subject: [PATCH] Add expectation to match actual API response in tests --- src/api/providers/__tests__/openai-native.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/providers/__tests__/openai-native.test.ts b/src/api/providers/__tests__/openai-native.test.ts index 2e9f4f7..4488bd3 100644 --- a/src/api/providers/__tests__/openai-native.test.ts +++ b/src/api/providers/__tests__/openai-native.test.ts @@ -300,6 +300,7 @@ describe("OpenAiNativeHandler", () => { expect(mockCreate).toHaveBeenCalledWith({ model: "o3-mini", messages: [{ role: "user", content: "Test prompt" }], + temperature: 0, }) })