mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-16 23:41:43 +00:00
fix(vertex_ai/anthropic): stop stripping output_config from Vertex Anthropic requests
Vertex AI's Anthropic raw-predict endpoint accepts and forwards the output_config field (used for Claude 4.7 task_budget / effort controls) without modification. Unconditionally dropping it silently disabled Claude 4.7's effort + task_budget feature when routing via LiteLLM. Fixes #26423
This commit is contained in:
parent
7b47dffefd
commit
149bd6a1c2
1 changed files with 0 additions and 3 deletions
|
|
@ -108,9 +108,6 @@ class VertexAIAnthropicConfig(AnthropicConfig):
|
|||
# VertexAI doesn't support output_format parameter, remove it if present
|
||||
data.pop("output_format", None)
|
||||
|
||||
# VertexAI doesn't support output_config parameter, remove it if present
|
||||
data.pop("output_config", None)
|
||||
|
||||
tools = optional_params.get("tools")
|
||||
tool_search_used = self.is_tool_search_used(tools)
|
||||
auto_betas = self.get_anthropic_beta_list(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue