mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-16 08:04:10 +00:00
chore: add omitempty for xunfei functions
This commit is contained in:
@@ -28,7 +28,7 @@ type ChatRequest struct {
|
|||||||
} `json:"message"`
|
} `json:"message"`
|
||||||
Functions struct {
|
Functions struct {
|
||||||
Text []model.Function `json:"text,omitempty"`
|
Text []model.Function `json:"text,omitempty"`
|
||||||
} `json:"functions"`
|
} `json:"functions,omitempty"`
|
||||||
} `json:"payload"`
|
} `json:"payload"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user