Skip to content

Commit 32a2930

Browse files
Unbreak integration tests
1 parent 6439e1f commit 32a2930

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
pull_request:
78

89
jobs:
910
integration_tests:

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)