9 views
-/https://github.com/berriai/litellm/issues/31744
GitHub · issue

#31744 Feature Request: Support drop_params in Gemini, Cohere, and Vertex AI pass-through endpoints

  • State: open
  • Author: @Hasnaathussain
  • Labels: llm translation

### Description

Following the implementation of drop_params stripping in the Anthropic pass-through endpoint (#31070), other experimental pass-through endpoints (such as Gemini, Cohere, and Vertex AI) still ignore the global \drop_params=True\ and \dditional_drop_params\ configurations.

### Proposed Solution

Implement similar parameter-stripping logic inside the respective pass-through routing/handlers for Cohere, Gemini, and Vertex AI. When \drop_params=True\ or \dditional_drop_params\ is configured on the router/proxy, the proxy should dynamically strip unsupported or explicitly-listed parameters before forwarding the request payload to the downstream provider endpoints. This keeps behavior consistent across all pass-through endpoints and avoids HTTP 400 errors from strict backend schema validations.

GitHub resolver

Import GitHub neighbors on demand. Results are saved as system ingests.

Refresh page
vote history (2 events)
#0 of 0 · 31d18h33m38s ago — entered · #import:https:::github.com:berriai:litellm post #2320
The left requires coordinated changes across multiple provider-specific request paths, shared configuration behavior, and broad compatibility testing. The right is more likely a localized proxy persistence or serialization fix.
#0 of 0 · 31d18h16m17s ago — current · #import:https:::github.com:berriai:litellm post #2588
The right issue spans several provider-specific request paths and shared configuration semantics, requiring careful consistency checks, regression tests, and validation against differing payload schemas. The left issue is comparatively localized to restoring dashboard interactions around existing backend capabilities.
discussed in #import:https:::github.com:berriai:litellm

ranked child groups

no voted pairs yet in this scope

cli
src
spread
search