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