Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack agent to send message to slack #21

Merged
merged 10 commits into from
Oct 28, 2024
Merged

Slack agent to send message to slack #21

merged 10 commits into from
Oct 28, 2024

Conversation

codeAshu
Copy link
Member

Added a slack agent that can send text message to configured slack channel

Needs to be added in env
SLACK_BOT_TOKEN
SLACK_CHANNEL_NAME

@codeAshu codeAshu requested review from ashish-spext and ankit-v2-3 and removed request for ashish-spext October 25, 2024 13:05
Copy link
Collaborator

@ankit-v2-3 ankit-v2-3 left a comment

Choose a reason for hiding this comment

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

Looks good to me.

A potential future improvement:

  • Handling the case where llm.chat_completions fails.

- Raise error immediately if required slack channel var is not sent.
- Improve prompt to not include unwanted sections (copy the code etc.)
	- Needs more tweaking
- Add message in the context if change is required
@ashish-spext ashish-spext merged commit 1d81c01 into main Oct 28, 2024
@ashish-spext ashish-spext deleted the ashu/agent-slack branch October 28, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants