mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(model_param_helper.py): change TranscriptionCreateParams.__annotations__ to TranscriptionCreateParams.__dict__ to clean logging error // handle typeddict
This commit is contained in:
parent
ae3c3af22e
commit
04fd43bad6
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ class ModelParamHelper:
|
||||||
|
|
||||||
This follows the OpenAI API Spec
|
This follows the OpenAI API Spec
|
||||||
"""
|
"""
|
||||||
return set(TranscriptionCreateParams.__annotations__.keys())
|
return set(TranscriptionCreateParams.__dict__.keys())
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_exclude_kwargs() -> Set[str]:
|
def _get_exclude_kwargs() -> Set[str]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue