1
0
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:
源文雨
2025-02-19 00:01:37 +09:00
parent 71569e85d5
commit 6b99264c6b
2 changed files with 7 additions and 7 deletions

View File

@@ -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"`

View File

@@ -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"`