修改错误提示

This commit is contained in:
CaIon
2023-12-01 01:29:13 +08:00
parent 823a7aa898
commit 35a3c61021
6 changed files with 14 additions and 6 deletions
+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,