diff --git a/libs/langchain/langchain/output_parsers/openai_tools.py b/libs/langchain/langchain/output_parsers/openai_tools.py index 7e426f369f746..c03f4ad7afbc3 100644 --- a/libs/langchain/langchain/output_parsers/openai_tools.py +++ b/libs/langchain/langchain/output_parsers/openai_tools.py @@ -85,6 +85,7 @@ class JsonOutputKeyToolsParser(JsonOutputToolsParser): key_name: str """The type of tools to return.""" + def __init__(self, key_name: str, **kwargs: Any) -> None: """Allow init with positional args.""" # Backwards compatibility for old argument name.