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]

oci: fix drop params parameter

João Speglichafc9d258e311
diff --git a/litellm/llms/oci/chat/transformation.py b/litellm/llms/oci/chat/transformation.py
index a3ee3d58f07..18740052480 100644
--- a/litellm/llms/oci/chat/transformation.py
+++ b/litellm/llms/oci/chat/transformation.py
@@ -208,8 +208,8 @@ class OCIChatConfig(BaseConfig):
if alias is False:
# Workaround for mypy issue
- #if drop_params:
- continue
+ if drop_params or litellm.drop_params:
+ continue
raise Exception(f"param `{key}` is not supported on OCI")
if alias is None: