Skip to content

feat: add ai-enabled features text streaming methods, feedback blocks, and loading state - #1766

Merged
zimeg merged 23 commits into
mainfrom
ai-apps
Oct 6, 2025
Merged

feat: add ai-enabled features text streaming methods, feedback blocks, and loading state#1766
zimeg merged 23 commits into
mainfrom
ai-apps

Conversation

@zimeg

@zimegzimeg commented Oct 6, 2025

Copy link
Copy Markdown
Member

Release Notes

🍿 https://github.com/slackapi/python-slack-sdk/releases/tag/v3.37.0

Summary

This PR adds features related to AI apps:

  • Chat Text Stream: The chat.startStream, chat.appendStream, chat.stopStream API methods alongside a .chat_stream() helper.
  • Blocks: The context_actions block and feedback_blocks and icon_button block elements.
  • Loading State: The assistant.threads.setStatus method accepts loading messages.

Testing

In CI and prior PRs! 🎁 ✨

Category

  • slack_sdk.web.WebClient (sync/async) (Web API client)
  • slack_sdk.models (UI component builders)
  • /docs (Documents)
  • tests/integration_tests (Automated tests for this library)

Requirements

  • I've read and understood the Contributing Guidelines and have done my best effort to follow them.
  • I've read and agree to the Code of Conduct.
  • I've run python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.sh after making the changes.

zimegand others added 22 commits September 18, 2025 20:50
…#1745)
Co-authored-by: William Bergamin <wbergamin@salesforce.com>
…eam` (#1753)
* fix(web-client): update thread_ts arg to be required for chat_startStream method
* docs(web-client): generate docs
…hod using json content type (#1754)
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
Co-authored-by: Michael Brooks <mbrooks@slack-corp.com>
* go
* typo
* go
* Apply suggestions from code review
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
* full path
---------
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
@zimegzimeg added this to the 3.37.0 milestone Oct 6, 2025
@zimeg
zimeg requested a review from mwbrooksOctober 6, 2025 22:37
@zimegzimeg self-assigned this Oct 6, 2025
@zimegzimeg added enhancement M-T: A feature request for new functionality docs M-T: Documentation work only tests M-T: Testing work only semver:minor web-client labels Oct 6, 2025
Comment threadslack_sdk/version.py Outdated

@mwbrooksmwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

✅ Looks good to me! Exciting to see these features land into main! 🎉 Congrats @zimeg@srtaalej! 👏🏻

@codecov

codecovBot commented Oct 6, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.60784% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 85.11%. Comparing base (82aad20) to head (55a943e).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing linesPatch %Lines
slack_sdk/models/blocks/basic_components.py97.22%1 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@## main #1766 +/- ##
==========================================
+ Coverage 84.93% 85.11% +0.18% 
==========================================
Files 113 115 +2 Lines 12905 13068 +163 ==========================================
+ Hits 10961 11123 +162 - Misses 1944 1945 +1 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zimeg

zimeg commented Oct 6, 2025

Copy link
Copy Markdown
MemberAuthor

@mwbrooks Thanks so much! I am excited to merge this now 🚢 💨

@zimeg
zimeg merged commit a5a2e5b into mainOct 6, 2025
12 checks passed
@zimeg
zimeg deleted the ai-apps branch October 6, 2025 22:51
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:asyncdocsM-T: Documentation work onlyenhancementM-T: A feature request for new functionalitysemver:minortestsM-T: Testing work onlyVersion: 3xweb-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@zimeg@mwbrooks@lukegalbraithrussell