Merge branch 'main' into latest

This commit is contained in:
CaIon committed 2023-11-15 21:07:37 +08:00
commit a7bac4f1fd
12 files changed
+118 -66

No files matched your search

+6
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"`