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(params): filter internal traceback flag from provider requests (#43783)

shrey-berri6cf51383bf4d
diff --git a/litellm/types/litellm_params.py b/litellm/types/litellm_params.py
index 439858ea2b5..20214078852 100644
--- a/litellm/types/litellm_params.py
+++ b/litellm/types/litellm_params.py
@@ -199,6 +199,7 @@ class ObservabilityOptions:
logger_fn: Callable[[Mapping[str, object]], None] | None = None
verbose: bool | None = None
no_log: bool | None = field(default=None, metadata=wire("no-log"))
+ log_client_error_tracebacks: bool | None = None
@dataclass(frozen=True, slots=True, kw_only=True)
diff --git a/tests/unit/types/test_litellm_params.py b/tests/unit/types/test_litellm_params.py
index a2d944fcf39..ab4f6c12431 100644
--- a/tests/unit/types/test_litellm_params.py
+++ b/tests/unit/types/test_litellm_params.py
@@ -161,6 +161,7 @@ OPTION_NAMES: Final = (
"logger_fn",
"verbose",
"no-log",
+ "log_client_error_tracebacks",
"max_agentic_loops",
"guardrails",
"prompt_id",