Skip to content

Commit

Permalink
fix: Correct model request configuration in Vertex Claude adaptor
Browse files Browse the repository at this point in the history
  • Loading branch information
Calcium-Ion committed Feb 27, 2025
1 parent 929668b commit 3a18c0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relay/channel/vertex/adaptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (a *Adaptor) ConvertRequest(c *gin.Context, info *relaycommon.RelayInfo, re
if err = copier.Copy(vertexClaudeReq, claudeReq); err != nil {
return nil, errors.New("failed to copy claude request")
}
c.Set("request_model", request.Model)
c.Set("request_model", claudeReq.Model)
return vertexClaudeReq, nil
} else if a.RequestMode == RequestModeGemini {
geminiRequest, err := gemini.CovertGemini2OpenAI(*request)
Expand Down

0 comments on commit 3a18c0c

Please # to comment.