mirror of
https://github.com/fumiama/deepinfra.git
synced 2026-06-19 11:01:54 +08:00
fix(model): drop redundant json fields
This commit is contained in:
@@ -8,10 +8,10 @@ import (
|
|||||||
|
|
||||||
// Custom as an compatible example.
|
// Custom as an compatible example.
|
||||||
type Custom struct {
|
type Custom struct {
|
||||||
Inputer
|
Inputer `json:"-"`
|
||||||
Outputer
|
Outputer `json:"-"`
|
||||||
MessageBuilder[*DeepSeek]
|
MessageBuilder[*DeepSeek] `json:"-"`
|
||||||
sep string
|
sep string `json:"-"`
|
||||||
// callback only
|
// callback only
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Object string `json:"object,omitempty"`
|
Object string `json:"object,omitempty"`
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ const (
|
|||||||
|
|
||||||
// DeepSeek as an specified example.
|
// DeepSeek as an specified example.
|
||||||
type DeepSeek struct {
|
type DeepSeek struct {
|
||||||
Inputer
|
Inputer `json:"-"`
|
||||||
Outputer
|
Outputer `json:"-"`
|
||||||
MessageBuilder[*DeepSeek]
|
MessageBuilder[*DeepSeek] `json:"-"`
|
||||||
// callback only
|
// callback only
|
||||||
ID string `json:"id,omitempty"`
|
ID string `json:"id,omitempty"`
|
||||||
Object string `json:"object,omitempty"`
|
Object string `json:"object,omitempty"`
|
||||||
|
|||||||
Reference in New Issue
Block a user