feat: Enhance ConvertClaudeRequest method to set request model and handle vertex-specific request conversion
This commit is contained in:
1 parent
4f6167243f
commit
9b2cc6add7
2 files changed
+10
-1
No files matched your search
@@ -21,6 +21,8 @@ type Adaptor struct {
|
||||
}
|
||||
|
||||
func (a *Adaptor) ConvertClaudeRequest(c *gin.Context, info *relaycommon.RelayInfo, request *dto.ClaudeRequest) (any, error) {
|
||||
c.Set("request_model", request.Model)
|
||||
c.Set("converted_request", request)
|
||||
return request, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user