mirror of
https://github.com/songquanpeng/one-api.git
synced 2026-04-26 11:44:25 +08:00
chore: rename struct name
This commit is contained in:
@@ -2,10 +2,10 @@ package model
|
|||||||
|
|
||||||
type ResponseFormat struct {
|
type ResponseFormat struct {
|
||||||
Type string `json:"type,omitempty"`
|
Type string `json:"type,omitempty"`
|
||||||
JsonSchema *ResponseFormatJsonSchema `json:"json_schema,omitempty"`
|
JsonSchema *JSONSchema `json:"json_schema,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResponseFormatJsonSchema struct {
|
type JSONSchema struct {
|
||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Schema map[string]interface{} `json:"schema,omitempty"`
|
Schema map[string]interface{} `json:"schema,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user