Merge branch 'main' into latest

This commit is contained in:
CaIon
2023-11-15 21:07:37 +08:00
12 changed files with 118 additions and 66 deletions

View File

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