mirror of
https://github.com/hwchase17/langchain.git
synced 2025-09-12 12:59:07 +00:00
core[patch]: export tool output parsers from langchain_core.output_parsers (#23305)
These currently read off AIMessage.tool_calls, and only fall back to OpenAI parsing if tool calls aren't populated. Importing these from `openai_tools` (e.g., in our [tool calling docs](https://python.langchain.com/v0.2/docs/how_to/tool_calling/#tool-calls)) can lead to confusion. After landing, would need to release core and update docs.
This commit is contained in:
@@ -15,6 +15,9 @@ EXPECTED_ALL = [
|
||||
"XMLOutputParser",
|
||||
"JsonOutputParser",
|
||||
"PydanticOutputParser",
|
||||
"JsonOutputToolsParser",
|
||||
"JsonOutputKeyToolsParser",
|
||||
"PydanticToolsParser",
|
||||
]
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user