diff --git a/routers/repo/ai_model_manage.go b/routers/repo/ai_model_manage.go index 334197737..3ca6cf115 100644 --- a/routers/repo/ai_model_manage.go +++ b/routers/repo/ai_model_manage.go @@ -141,7 +141,7 @@ func SaveNewNameModel(ctx *context.Context) { return } SaveModel(ctx) - + ctx.Status(200) log.Info("save model end.") } @@ -181,7 +181,7 @@ func SaveModel(ctx *context.Context) { ctx.Error(500, fmt.Sprintf("save model error. %v", err)) return } - + ctx.Status(200) log.Info("save model end.") }