Skip to content

Commit 1880333

Browse files
Run integration tests for PRs (sashabaranov#823)
* Unbreak integration tests * Update integration-tests.yml
1 parent 6439e1f commit 1880333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ func TestChatCompletionResponseFormat_JSONSchema(t *testing.T) {
211211
},
212212
ResponseFormat: &openai.ChatCompletionResponseFormat{
213213
Type: openai.ChatCompletionResponseFormatTypeJSONSchema,
214-
JSONSchema: openai.ChatCompletionResponseFormatJSONSchema{
214+
JSONSchema: &openai.ChatCompletionResponseFormatJSONSchema{
215215
Name: "cases",
216216
Schema: jsonschema.Definition{
217217
Type: jsonschema.Object,

0 commit comments

Comments
 (0)