Make reponse format JSONSchema optional (#820)
This commit is contained in:
2
chat.go
2
chat.go
@@ -183,7 +183,7 @@ const (
|
||||
|
||||
type ChatCompletionResponseFormat struct {
|
||||
Type ChatCompletionResponseFormatType `json:"type,omitempty"`
|
||||
JSONSchema ChatCompletionResponseFormatJSONSchema `json:"json_schema,omitempty"`
|
||||
JSONSchema *ChatCompletionResponseFormatJSONSchema `json:"json_schema,omitempty"`
|
||||
}
|
||||
|
||||
type ChatCompletionResponseFormatJSONSchema struct {
|
||||
|
||||
Reference in New Issue
Block a user