The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
Fix typo in docstring of format_tool_to_openai_function (#6479)
northern-64bit74920605252d
diff --git a/langchain/tools/convert_to_openai.py b/langchain/tools/convert_to_openai.pyindex d780e8ab29..82c0a47fbb 100644--- a/langchain/tools/convert_to_openai.py+++ b/langchain/tools/convert_to_openai.py@@ -15,7 +15,7 @@ class FunctionDescription(TypedDict):def format_tool_to_openai_function(tool: BaseTool) -> FunctionDescription:- """Format tool into the open AI function API."""+ """Format tool into the OpenAI function API."""if isinstance(tool, StructuredTool):schema_ = tool.args_schema.schema()# Bug with required missing for structured tools.