refactor: replace assistant_threads_setStatus method with assistant class set_status#12
Merged
refactor: replace assistant_threads_setStatus method with assistant class set_status#12
Conversation
5 tasks
srtaalej
approved these changes
Sep 24, 2025
Member
Author
|
👁️🗨️ Am hoping to use a prerelease of slackapi/bolt-python#1371 with this merge soon! Edit: Wrong PR 😉 |
mwbrooks
approved these changes
Sep 30, 2025
Member
mwbrooks
left a comment
There was a problem hiding this comment.
✅ Thanks a bunch for updating the assistant class with the new set_status loading messages!
🧪 Manually tested with the AI Sample App and confirmed that the status and loading messages set and rotated correctly.
Comment on lines
+98
to
+107
| set_status( | ||
| status="Drafting...", | ||
| loading_messages=[ | ||
| "Teaching the hamsters to type faster…", | ||
| "Untangling the internet cables…", | ||
| "Consulting the office goldfish…", | ||
| "Polishing up the response just for you…", | ||
| "Convincing the AI to stop overthinking…", | ||
| ], | ||
| ) |
Member
There was a problem hiding this comment.
note: Confirmed with manual testing that all of the loading_messages are cycled.
Comment on lines
+1
to
+2
| slack-sdk==3.36.0.dev5 | ||
| slack-bolt==1.26.0.dev2 |
Member
There was a problem hiding this comment.
note: We're now using the latest beta releases!
Member
Author
|
@mwbrooks I appreciate the kind testing 🙏 ✨ |
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 follows #11 to replace the
assistant_threads_setStatusmethod with the assistant classset_statushelper that accepts additional arguments.Requirements