mirror of
https://github.com/hwchase17/langchain.git
synced 2026-04-05 03:48:48 +00:00
fmt
This commit is contained in:
@@ -2101,7 +2101,6 @@ def _convert_to_openai_response_format(
|
||||
schema: Union[Dict[str, Any], Type], strict: bool
|
||||
) -> Union[Dict, TypeBaseModel]:
|
||||
if isinstance(schema, type) and is_basemodel_subclass(schema):
|
||||
print("BOTH")
|
||||
return schema
|
||||
else:
|
||||
function = convert_to_openai_function(schema, strict=strict)
|
||||
|
||||
Reference in New Issue
Block a user