feat: replace assistant handlers with agent argument methods#51
Open
zimeg wants to merge 2 commits intofeat-agent-argumentfrom
Open
feat: replace assistant handlers with agent argument methods#51zimeg wants to merge 2 commits intofeat-agent-argumentfrom
zimeg wants to merge 2 commits intofeat-agent-argumentfrom
Conversation
5 tasks
srtaalej
approved these changes
Feb 17, 2026
| from logging import Logger | ||
|
|
||
| from slack_bolt import Say, SetSuggestedPrompts | ||
| from slack_bolt import BoltAgent, Say |
Comment on lines
26
to
30
| agent: BoltAgent for making API calls | ||
| client: Slack WebClient for making API calls | ||
| context: Bolt context containing channel and thread information | ||
| logger: Logger instance for error tracking | ||
| payload: Event payload with message details (channel, user, text, etc.) | ||
| message: Dictionary with message information | ||
| say: Function to send messages to the thread | ||
| set_status: Function to update the assistant's status | ||
| """ |
mwbrooks
requested changes
Feb 17, 2026
Member
There was a problem hiding this comment.
Thanks for showcases how the agent argument methods may look in the Assistant sample app! 🙇🏻
However, let's hold off on merging this. The agent is an under-developer, experimental feature that's unreleased. We don't want to be adding to our main assistant/agent sample app right now.
If this sounds good to you, we can close this PR without merging 📕
Edit: Just noticed that you're merging into feat-agent-argument. I suppose that's fine if you want to merge it, but I was going to delete that branch today. It was only intended to showcase a working example to test the argent argument PR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Summary
This PR replaces
set_suggested_promptsandset_statusmethods from assistant handlers with the "agent" argument methods 🤖Tested with the following PRs built:
Requirements