mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-07 06:43:41 +08:00
Merge branch 'main' into latest
This commit is contained in:
@@ -70,6 +70,12 @@ func (r GeneralOpenAIRequest) ParseInput() []string {
|
||||
return input
|
||||
}
|
||||
|
||||
type AudioRequest struct {
|
||||
Model string `json:"model"`
|
||||
Voice string `json:"voice"`
|
||||
Input string `json:"input"`
|
||||
}
|
||||
|
||||
type ChatRequest struct {
|
||||
Model string `json:"model"`
|
||||
Messages []Message `json:"messages"`
|
||||
|
||||
Reference in New Issue
Block a user