mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-19 01:57:27 +00: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