From 04fd43bad6c91e3436ca95c63dadc33a725ca54e Mon Sep 17 00:00:00 2001 From: Hammad Saeed Date: Fri, 21 Mar 2025 16:30:46 -0700 Subject: [PATCH] fix(model_param_helper.py): change TranscriptionCreateParams.__annotations__ to TranscriptionCreateParams.__dict__ to clean logging error // handle typeddict --- litellm/litellm_core_utils/model_param_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/litellm_core_utils/model_param_helper.py b/litellm/litellm_core_utils/model_param_helper.py index 09a2c15a77..ebe3ce93fc 100644 --- a/litellm/litellm_core_utils/model_param_helper.py +++ b/litellm/litellm_core_utils/model_param_helper.py @@ -123,7 +123,7 @@ class ModelParamHelper: This follows the OpenAI API Spec """ - return set(TranscriptionCreateParams.__annotations__.keys()) + return set(TranscriptionCreateParams.__dict__.keys()) @staticmethod def _get_exclude_kwargs() -> Set[str]: