Преглед изворни кода

Add expectation to match actual API response in tests

Anton Shpigunov пре 1 година
родитељ
комит
7329e945b4
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/api/providers/__tests__/openai-native.test.ts

+ 1 - 0
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,
 			})
 		})