docs/how_to/custom_tools/ #30651
Replies: 1 comment
-
I have a tool which makes an api call to fetch some details but the api call takes long time sometimes above 10secs. so for a better ux i want to tell user we are fetching details whenever llm calls this tool using "CallbackManagerForToolRun". the logger prints logs whenever the tool call is done. but i am not getting this message in streaming response while interacting with agent. How can i fetch this message to show while interacting with agent.
|
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.
-
docs/how_to/custom_tools/
When constructing an agent, you will need to provide it with a list of Tools that it can use. Besides the actual function that is called, the Tool consists of several components:
https://python.langchain.com/docs/how_to/custom_tools/
Beta Was this translation helpful? Give feedback.
All reactions