Skip to content

Commit 7492060

Browse files
Fix typo in docstring of format_tool_to_openai_function (#6479)
Fixes typo "open AI" to "OpenAI" in docstring of `format_tool_to_openai_function` in `langchain/tools/convert_to_openai.py`.
1 parent b3c49e9 commit 7492060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

langchain/tools/convert_to_openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FunctionDescription(TypedDict):
1515

1616

1717
def format_tool_to_openai_function(tool: BaseTool) -> FunctionDescription:
18-
"""Format tool into the open AI function API."""
18+
"""Format tool into the OpenAI function API."""
1919
if isinstance(tool, StructuredTool):
2020
schema_ = tool.args_schema.schema()
2121
# Bug with required missing for structured tools.

0 commit comments

Comments
 (0)