fix(utils.py): new helper function to check if provider/model supports 'response_schema' param

This commit is contained in:
Krrish Dholakia 2024-06-29 12:40:29 -07:00
parent be8a6377f6
commit 5718d1e205
5 changed files with 114 additions and 93 deletions

View file

@ -71,6 +71,7 @@ class ModelInfo(TypedDict, total=False):
]
supported_openai_params: Required[Optional[List[str]]]
supports_system_messages: Optional[bool]
supports_response_schema: Optional[bool]
class GenericStreamingChunk(TypedDict):