From bd9bf4b732a61b3b4394db3a7caab9e7d5d432d0 Mon Sep 17 00:00:00 2001 From: CalciumIon <1808837298@qq.com> Date: Sat, 6 Jul 2024 17:29:28 +0800 Subject: [PATCH] chore: remove useless code --- relay/channel/cohere/adaptor.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/relay/channel/cohere/adaptor.go b/relay/channel/cohere/adaptor.go index 6244ae5..b5f3521 100644 --- a/relay/channel/cohere/adaptor.go +++ b/relay/channel/cohere/adaptor.go @@ -4,7 +4,6 @@ import ( "fmt" "github.com/gin-gonic/gin" "io" - "log" "net/http" "one-api/dto" "one-api/relay/channel" @@ -40,7 +39,6 @@ func (a *Adaptor) ConvertRequest(c *gin.Context, relayMode int, request *dto.Gen } func (a *Adaptor) DoRequest(c *gin.Context, info *relaycommon.RelayInfo, requestBody io.Reader) (*http.Response, error) { - log.Printf("requestBody: %v", requestBody) return channel.DoApiRequest(a, c, info, requestBody) }