fix: remove sensitive check on completion (close #157)

This commit is contained in:
CaIon committed 2024-03-29 22:20:14 +08:00
1 parent 41a2619e84
commit 54c18dc89e
25 files changed
+107 -187

No files matched your search

+6
View File
@@ -11,6 +11,12 @@ type TextResponseWithError struct {
Error OpenAIError `json:"error"`
}
type SimpleResponse struct {
Usage `json:"usage"`
Error OpenAIError `json:"error"`
Choices []OpenAITextResponseChoice `json:"choices"`
}
type TextResponse struct {
Id string `json:"id"`
Object string `json:"object"`