RunnableAssign instantiation raises a pydantic validation error #26862
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Ɑ: core
Related to langchain-core
investigate
Checked other resources
Example Code
The official example from https://api.python.langchain.com/en/latest/runnables/langchain_core.runnables.passthrough.RunnableAssign.html
Error Message and Stack Trace (if applicable)
Description
With LangChain
0.3.x
,RunnableAssign
class cannot be instantiated due to a pydantic validation error. The official example in the class docstring does not work. Themapper
argument seems to be correct type (RunnableParallel
with dictionary).System Info
System Information
Package Information
Optional packages not installed
Other Dependencies
The text was updated successfully, but these errors were encountered: