fix: mistral

This commit is contained in:
1808837298@qq.com
2025-02-22 16:29:48 +08:00
parent 27ea231d66
commit 88a2fec190
4 changed files with 13 additions and 14 deletions

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) {