slack icon indicating copy to clipboard operation
slack copied to clipboard

Slack AI & Assistants Compatibility

Open MattDavisRV opened this issue 1 year ago • 2 comments

Added new function for Slack AI & Assistants, information can be found here: https://api.slack.com/docs/apps/ai

New Events: https://api.slack.com/events/assistant_thread_started https://api.slack.com/events/assistant_thread_context_changed

New API Calls: https://api.slack.com/methods/assistant.threads.setStatus https://api.slack.com/methods/assistant.threads.setSuggestedPrompts https://api.slack.com/methods/assistant.threads.setTitle

Tests have been added and pass all checks via make pr-prep.

MattDavisRV avatar Oct 08 '24 23:10 MattDavisRV

This PR resolves issue 1326.

MattDavisRV avatar Oct 08 '24 23:10 MattDavisRV

@lorenzoaiello, sorry about the initially cluttered PR, I didn't look at the changed files and I'm unsure how all of the additional changes were added in. I've cleaned up the PR to only be my changes.

I've also added in an additional change for the Section Block that was added due to the AI changes. I was going to submit an additional PR with it, but I decided to add it in here.

MattDavisRV avatar Oct 16 '24 17:10 MattDavisRV

@MattDavisRV , can you please resolve the conflicts?

lorenzoaiello avatar Oct 23 '24 21:10 lorenzoaiello

@lorenzoaiello all set, I refactored my tests, it looks like i can't use a handler function with form variables, I noticed other tests were using the standard "ok handler", so I switched to that. All tests are passing now.

MattDavisRV avatar Oct 23 '24 22:10 MattDavisRV

Hey @lorenzoaiello, anything else I need to do here to get this merged in?

MattDavisRV avatar Nov 06 '24 14:11 MattDavisRV