From cb0233f7b68c8b6ed446393ec3b3ff146de6fdb7 Mon Sep 17 00:00:00 2001 From: npc0-hue Date: Sat, 25 Apr 2026 10:17:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=89=93=E5=8D=B0=E5=8E=9F=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/server/api/v1/gaia/model_provider.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/server/api/v1/gaia/model_provider.go b/admin/server/api/v1/gaia/model_provider.go index cae6de6cd..9a255ac68 100644 --- a/admin/server/api/v1/gaia/model_provider.go +++ b/admin/server/api/v1/gaia/model_provider.go @@ -127,6 +127,9 @@ func proxyWithAccountId(c *gin.Context, accountId string) { if err = modelProviderService.ProxyRequest( accountId, path, c.Request.Method, reqHeader, body, c.Writer); err != nil { + global.GVA_LOG.Info("Gaia代理请求body", + zap.String("body", string(body)), + ) global.GVA_LOG.Error("代理请求失败", zap.String("account_id", accountId), zap.String("path", path), zap.Error(err)) if !c.Writer.Written() { c.JSON(http.StatusInternalServerError, gin.H{"error": gin.H{"message": err.Error()}})