Is this a new feature, an improvement, or a change to existing functionality?
Improvement
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem this feature solves
This would allow subclasses of LangChainAgentNode to set custom metadata for langchain agent tools.
Describe your ideal solution
Add metadata as an argument to LangChainAgentNode._run_single
Additional context
Currently LangChainAgentNode._run_single takes arbitrary keyword arguments, however it attempts to unpack them in a way that shouldn't be performed for metadata
Code of Conduct
[X] I agree to follow this project's Code of Conduct
[X] I have searched the open feature requests and have found no duplicates for this feature request
Is this a new feature, an improvement, or a change to existing functionality?
Improvement
How would you describe the priority of this feature request
Medium
Please provide a clear description of problem this feature solves
This would allow subclasses of
LangChainAgentNode
to set custom metadata for langchain agent tools.Describe your ideal solution
Add
metadata
as an argument toLangChainAgentNode._run_single
Additional context
Currently
LangChainAgentNode._run_single
takes arbitrary keyword arguments, however it attempts to unpack them in a way that shouldn't be performed for metadataCode of Conduct