From 18803333812ea21c409e84d426141606b9a6e692 Mon Sep 17 00:00:00 2001 From: Harald Nordgren Date: Fri, 9 Aug 2024 18:30:32 +0200 Subject: [PATCH] Run integration tests for PRs (#823) * Unbreak integration tests * Update integration-tests.yml --- api_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api_integration_test.go b/api_integration_test.go index a487f58..3084268 100644 --- a/api_integration_test.go +++ b/api_integration_test.go @@ -211,7 +211,7 @@ func TestChatCompletionResponseFormat_JSONSchema(t *testing.T) { }, ResponseFormat: &openai.ChatCompletionResponseFormat{ Type: openai.ChatCompletionResponseFormatTypeJSONSchema, - JSONSchema: openai.ChatCompletionResponseFormatJSONSchema{ + JSONSchema: &openai.ChatCompletionResponseFormatJSONSchema{ Name: "cases", Schema: jsonschema.Definition{ Type: jsonschema.Object,