docs: updates for agent_view release#1543
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1543 +/- ##
=======================================
Coverage 91.37% 91.37%
=======================================
Files 228 228
Lines 7285 7285
=======================================
Hits 6657 6657
Misses 628 628 ☔ View full report in Codecov by Harness. |
zimeg
left a comment
There was a problem hiding this comment.
🐍 LGTM! And no big comments but a thought I share before publish!
| ::: | ||
|
|
||
| Your agent can utilize features applicable to messages throughout Slack, like [chat streaming](#text-streaming) and [feedback buttons](#adding-and-handling-feedback). They can also [utilize the `Assistant` class](/tools/bolt-python/concepts/using-the-assistant-class) for a side-panel view designed with AI in mind. | ||
| Your agent can utilize features applicable to messages throughout Slack, like [chat streaming](#text-streaming) and [feedback buttons](#adding-and-handling-feedback). Agents respond in the **Messages** tab by default (the [agent messaging experience](/ai/developing-agents), `agent_view`). Apps using the legacy assistant messaging experience (`assistant_view`) can also [utilize the `Assistant` class](/tools/bolt-python/concepts/using-the-assistant-class) for a side-panel view designed with AI in mind. |
There was a problem hiding this comment.
📣 thought: The wording around the side-panel is somewhat confusing to me since both agent_view and assistant_view messagings can appear here... This is noted in the "developing-agents" link so no blocker for me!
There was a problem hiding this comment.
Good point. I ended up removing the new wording altogether because this is just an intro sentence - it's not super important to distinguish the assistant/agent thing here.
Summary
This updates the documentation around the new
agent_viewand recommendations moving away fromassistant_view, with links to the docs and changelog entry on that. I updated the code sample to match the sample app updates too.Preview: https://docs-slack-d-branch-for-avumma.herokuapp.com/tools/bolt-python/concepts/adding-agent-features
Testing
Category
slack_bolt.Appand/or its core componentsslack_bolt.async_app.AsyncAppand/or its core componentsslack_bolt.adapter/docsRequirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
./scripts/install_all_and_run_tests.shafter making the changes.