Skip to content

Conversation

@zzstoatzz
Copy link
Collaborator

  • Add thread summary asset

  • add basic asset impl to slackbot

  • several things

  • slight fix

Copilot AI review requested due to automatic review settings June 8, 2025 18:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces new asset support for summarizing Slack threads and updates several modules in the Slackbot to integrate basic asset functionality and additional context for handling user data. Key changes include:

  • Addition of a new UserContext TypedDict and extended build_user_context parameters in core.py.
  • Implementation of new asset functions including thread summary and user facts storage in assets.py.
  • Updates to the Slack API handling and application logging in api.py and main.py.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
examples/slackbot/src/slackbot/types.py New TypedDict for UserContext with required fields added
examples/slackbot/src/slackbot/slack.py Added get_workspace_domain() to retrieve workspace domain
examples/slackbot/src/slackbot/settings.py Added anthropic_key_secret_name setting
examples/slackbot/src/slackbot/search.py Updated documentation strings for Prefect 3.x gotchas tips
examples/slackbot/src/slackbot/core.py Updated build_user_context signature and agent tool implementations
examples/slackbot/src/slackbot/assets.py Introduced thread summary and updated asset functions for conversation metadata
examples/slackbot/src/slackbot/api.py Modified creation of user context and agent execution logic
examples/slackbot/src/slackbot/main.py Enhanced logging and added environment configuration for additional API keys
examples/slackbot/ASSETS.md Updated asset documentation to reflect the new asset dependency chain
Comments suppressed due to low confidence (1)

examples/slackbot/src/slackbot/core.py:53

  • Consider revising the phrasing to use more formal language (for example, replacing 'bc' or informal abbreviations) to maintain professionalism in production documentation.
        - Do not overdo the character - be 99% neutral/helpful and slip in the character once in a while

@zzstoatzz zzstoatzz merged commit 30fc217 into main Jun 8, 2025
3 checks passed
@zzstoatzz zzstoatzz deleted the woops branch June 8, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants