Skip to content
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

SlackRetrieveRepliesTool tool #1436

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

SlackRetrieveRepliesTool tool #1436

wants to merge 1 commit into from

Conversation

marklysze
Copy link
Collaborator

Why are these changes needed?

Slack (and Discord/Telegram) have tools for sending and retrieving messages, however, they don't have a mechanism to monitor and wait for replies.

This is a draft PR that has a tool that monitors and waits for replies to a Slack message. It has a timeout and polling options, can be restricted by a certain number of replies, and will monitor for any new messages in the channel after the message or replies directly to the message.

CC @sayujshah, can you please try this out and let us know how you go.

Still to do if we proceed with this change:

  • Documentation
  • Tests

Related issue number

N/A

Checks

@marklysze marklysze self-assigned this Mar 21, 2025
Copy link
Collaborator

@sayujshah sayujshah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ran the following tests:

  1. Communication within channel
  2. Reply within thread
  3. Observe how agent reacts when user does not respond

The tool ran successfully for all use cases and waited the specified time set forth in the prompt before sending a follow-up if the user does not respond. Once the user responds, it does not wait and immediately sends its follow-ups. The only thing I noticed is when I reply within a thread, the agent sends its response back in the channel rather than within the thread. However, this is likely a change we would need to explore in the SlackSendTool. This retrieval tool is working great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants