mirror of
https://github.com/songquanpeng/one-api.git
synced 2026-02-15 10:24:24 +08:00
chore: rename struct name
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
package model
|
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