Agent Tool Calling with UserID / Closure Functions #230
Unanswered
krusadellc
asked this question in
Q&A
Replies: 1 comment
-
Hi, I tackled this reference for using a user ID (or other runtime params) at runtime using the Config schema(I didn't try it). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to implement the below Plan And Execute workflow but would like the tools to use the UserID of the user interacting with the agent
https://github.com/langchain-ai/langgraphjs/blob/main/examples/plan-and-execute/plan-and-execute.ipynb
The below tutorial goes over creating closure functions and binding the tools runtime so the correct UserID is used
https://js.langchain.com/v0.2/docs/how_to/tool_runtime/
How can I combine this approach with the Plan and Execute agents?
Beta Was this translation helpful? Give feedback.
All reactions