DOC: format_tool_to_openai_function is deprecated #33

Closed
opened 2026-02-20 17:23:29 -05:00 by yindo · 2 comments
Owner

Originally created by @matsfinsas on GitHub (Feb 29, 2024).

Issue with current documentation:

langchain.tools.render.format_tool_to_openai_function() is used several places in docs and examples, and is planned for deprecation in LangChain v0.2.0.

Idea or request for content:

Replace all use cases with the alternative langchain_core.utils.function_calling.convert_to_openai_tool(), and check other deprecations planned in 0.2.0 in langchain_core.utils.function_calling.

Originally created by @matsfinsas on GitHub (Feb 29, 2024). ### Issue with current documentation: `langchain.tools.render.format_tool_to_openai_function()` is used several places in docs and examples, and is planned for deprecation in LangChain v0.2.0. ### Idea or request for content: Replace all use cases with the alternative `langchain_core.utils.function_calling.convert_to_openai_tool()`, and check other deprecations planned in 0.2.0 in `langchain_core.utils.function_calling`.
yindo added the good first issue label 2026-02-20 17:23:29 -05:00
yindo closed this issue 2026-02-20 17:23:31 -05:00
Author
Owner

@hinthornw commented on GitHub (Mar 3, 2024):

Ya we plan to change when we get the time. Would be happy to review a PR if anyone makes one here!

@hinthornw commented on GitHub (Mar 3, 2024): Ya we plan to change when we get the time. Would be happy to review a PR if anyone makes one here!
Author
Owner

@hinthornw commented on GitHub (May 4, 2024):

Should be updated now

@hinthornw commented on GitHub (May 4, 2024): Should be updated now
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#33