Skip to content

Commit

Permalink
Merge branch 'sashabaranov:master' into feature/jsonschema-validate
Browse files Browse the repository at this point in the history
  • Loading branch information
eiixy authored Aug 8, 2024
2 parents 8bb6204 + 6439e1f commit 051a17f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ const (
)

type ChatCompletionResponseFormat struct {
Type ChatCompletionResponseFormatType `json:"type,omitempty"`
JSONSchema ChatCompletionResponseFormatJSONSchema `json:"json_schema,omitempty"`
Type ChatCompletionResponseFormatType `json:"type,omitempty"`
JSONSchema *ChatCompletionResponseFormatJSONSchema `json:"json_schema,omitempty"`
}

type ChatCompletionResponseFormatJSONSchema struct {
Expand Down

0 comments on commit 051a17f

Please sign in to comment.