chore: rename struct name

This commit is contained in:
JustSong 2024-09-21 22:35:08 +08:00
parent 1b24023562
commit 5983a3bb61

View File

@ -1,11 +1,11 @@
package model
type ResponseFormat struct {
Type string `json:"type,omitempty"`
JsonSchema *ResponseFormatJsonSchema `json:"json_schema,omitempty"`
Type string `json:"type,omitempty"`
JsonSchema *JSONSchema `json:"json_schema,omitempty"`
}
type ResponseFormatJsonSchema struct {
type JSONSchema struct {
Description string `json:"description,omitempty"`
Name string `json:"name"`
Schema map[string]interface{} `json:"schema,omitempty"`