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]

fix get_optional_params

Ishaan Jaff830ecbdb8c34
diff --git a/litellm/main.py b/litellm/main.py
index 3d4152d634d..5eb38a6bd10 100644
--- a/litellm/main.py
+++ b/litellm/main.py
@@ -1100,6 +1100,7 @@ def completion( # type: ignore # noqa: PLR0915
user=user,
# params to identify the model
model=model,
+ base_model=base_model,
custom_llm_provider=custom_llm_provider,
response_format=response_format,
seed=seed,