fix: mistral

This commit is contained in:
1808837298@qq.com
2025-02-22 16:29:48 +08:00
parent 0333576bee
commit 991b6f8bb0
4 changed files with 13 additions and 14 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func (a *Adaptor) ConvertRequest(c *gin.Context, info *relaycommon.RelayInfo, re
if request == nil {
return nil, errors.New("request is nil")
}
return request, nil
return requestOpenAI2Mistral(request), nil
}
func (a *Adaptor) ConvertRerankRequest(c *gin.Context, relayMode int, request dto.RerankRequest) (any, error) {