-
Notifications
You must be signed in to change notification settings - Fork 16k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: issue-5712 add sleep tool #5715
feat: issue-5712 add sleep tool #5715
Conversation
@@ -160,3 +160,9 @@ Below is a list of all supported tools and relevant information: | |||
- Notes: A connection to the OpenWeatherMap API (https://api.openweathermap.org), specifically the `/data/2.5/weather` endpoint. | |||
- Requires LLM: No | |||
- Extra Parameters: `openweathermap_api_key` (your API key to access this endpoint) | |||
|
|||
**sleep** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add to langchain/agents/load_tools.py
for this one!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, done.
Thanks for the PR! one main request - I'm also curious what you've found this useful for :) |
If we need to start a long-running job (for example we have a custom tool with a script that runs for several minutes or hours and save results in DB), an agent needs to wait for these results just doing nothing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks reasonable to me - thanks!
@hwchase17 @vowelparrot Finally all tests passed :-). Any other concerns? |
Fixes # 5712 added sleep tool
Fixes # 5712 added sleep tool
Who can review?
@vowelparrot