修改错误提示

This commit is contained in:
CaIon committed 2023-12-01 01:29:13 +08:00
1 parent 823a7aa898
commit 35a3c61021
6 files changed
+14 -6

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ func GetUsage(c *gin.Context) {
if err != nil {
openAIError := OpenAIError{
Message: err.Error(),
Type: "one_api_error",
Type: "new_api_error",
}
c.JSON(200, gin.H{
"error": openAIError,