Skip to content

feat: replace assistant handlers with agent argument methods#51

Merged
mwbrooks merged 2 commits intofeat-agent-argumentfrom
zimeg-feat-agent-set-suggested-prompts
Feb 18, 2026
Merged

feat: replace assistant handlers with agent argument methods#51
mwbrooks merged 2 commits intofeat-agent-argumentfrom
zimeg-feat-agent-set-suggested-prompts

Conversation

@zimeg
Copy link
Member

@zimeg zimeg commented Feb 16, 2026

Type of change

  • New feature

Summary

This PR replaces set_suggested_prompts and set_status methods from assistant handlers with the "agent" argument methods 🤖

Tested with the following PRs built:

Requirements

  • I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
  • I've read and agree to the Code of Conduct

@zimeg zimeg requested review from mwbrooks and srtaalej February 16, 2026 20:18
@zimeg zimeg self-assigned this Feb 16, 2026
@zimeg zimeg added the enhancement New feature or request label Feb 16, 2026
@zimeg zimeg requested a review from a team as a code owner February 16, 2026 20:18
Copy link
Contributor

@srtaalej srtaalej left a comment

Choose a reason for hiding this comment

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

looks amazing 🤩 !

from logging import Logger

from slack_bolt import Say, SetSuggestedPrompts
from slack_bolt import BoltAgent, Say
Copy link
Contributor

Choose a reason for hiding this comment

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

🤩

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
"""
Copy link
Contributor

Choose a reason for hiding this comment

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

this diff omg 🤩

Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

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

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.

Copy link
Member

@mwbrooks mwbrooks left a comment

Choose a reason for hiding this comment

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

✅ Since this is going into a branch, I think we can merge it okay. Sorry for putting a halt on it with the change requested. At first, I thought this was going into main 🤦🏻 My bad!

@mwbrooks mwbrooks merged commit dda8c83 into feat-agent-argument Feb 18, 2026
2 checks passed
@mwbrooks mwbrooks deleted the zimeg-feat-agent-set-suggested-prompts branch February 18, 2026 05:34
@zimeg
Copy link
Member Author

zimeg commented Feb 18, 2026

@srtaalej @mwbrooks I appreciate the kind reviews both so much 👾 ✨

Let's get this merged toward upcoming developments adjacent! I realize these changes are in progress when I requested review too - apologies for possible confusions to this...

If changes upstream happen before more review I'll be sure to follow up 🫡

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments