fix(model_param_helper.py): change TranscriptionCreateParams.__annotations__ to TranscriptionCreateParams.__dict__ to clean logging error // handle typeddict
This commit is contained in:
parent
9aef9fdca8
commit
3b9dd9be36
@ -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]:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user