fix: fix rerank

This commit is contained in:
CalciumIon
2024-07-06 17:28:00 +08:00
parent c7ba4a245b
commit e3256db6d0
2 changed files with 5 additions and 3 deletions
+2
View File
@@ -4,6 +4,7 @@ import (
"fmt"
"github.com/gin-gonic/gin"
"io"
"log"
"net/http"
"one-api/dto"
"one-api/relay/channel"
@@ -39,6 +40,7 @@ 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)
}