Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

Add missing request_kwargs to function call (#11202)

Adnan Alkattan18f7316b0873
diff --git a/litellm/router.py b/litellm/router.py
index 5e341bf789b..b8db060381e 100644
--- a/litellm/router.py
+++ b/litellm/router.py
@@ -857,6 +857,7 @@ class Router:
model=model,
messages=messages,
specific_deployment=kwargs.pop("specific_deployment", None),
+ request_kwargs=kwargs,
)
self._update_kwargs_with_deployment(deployment=deployment, kwargs=kwargs)