From 6cf51383bf4df52e342c0baa52cd479168723e32 Mon Sep 17 00:00:00 2001 From: shrey-berri Date: Wed, 30 Sep 2026 00:02:41 -0700 Subject: [PATCH] fix(params): filter internal traceback flag from provider requests (#43783) --- litellm/types/litellm_params.py | 1 + tests/unit/types/test_litellm_params.py | 1 + 2 files changed, 2 insertions(+) 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",