Skip to content

Commit f82d3c9

Browse files
authored
Refactor applyPayloadConfigWithRoot function signature
Removed 'requestPath' parameter from applyPayloadConfigWithRoot function.
1 parent 7a8ca24 commit f82d3c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/runtime/executor/compat_helpers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ func payloadRequestedModel(opts cliproxyexecutor.Options, fallback string) strin
7272
return helps.PayloadRequestedModel(opts, fallback)
7373
}
7474

75-
func applyPayloadConfigWithRoot(cfg *config.Config, model, protocol, root string, payload, original []byte, requestedModel string, requestPath string) []byte {
76-
return helps.ApplyPayloadConfigWithRoot(cfg, model, protocol, root, payload, original, requestedModel, requestPath)
75+
func applyPayloadConfigWithRoot(cfg *config.Config, model, protocol, root string, payload, original []byte, requestedModel string) []byte {
76+
return helps.ApplyPayloadConfigWithRoot(cfg, model, protocol, root, payload, original, requestedModel, "")
7777
}
7878

7979
func summarizeErrorBody(contentType string, body []byte) string {

0 commit comments

Comments
 (0)