Skip to content

Commit

Permalink
Make slash command output streamable (#19632)
Browse files Browse the repository at this point in the history
This PR adds support for streaming output from slash commands

In this PR we are focused primarily on the interface of the
`SlashCommand` trait to support streaming the output. We will follow up
later with support for extensions and context servers to take advantage
of the streaming nature.

Release Notes:

- N/A

---------

Co-authored-by: David Soria Parra <[email protected]>
Co-authored-by: Antonio Scandurra <[email protected]>
Co-authored-by: David <[email protected]>
Co-authored-by: Antonio <[email protected]>
Co-authored-by: Max <[email protected]>
Co-authored-by: Max Brunsfeld <[email protected]>
Co-authored-by: Will <[email protected]>
  • Loading branch information
8 people authored Nov 7, 2024
1 parent f6fbf66 commit b129e18
Show file tree
Hide file tree
Showing 14 changed files with 1,131 additions and 502 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

290 changes: 183 additions & 107 deletions crates/assistant/src/assistant_panel.rs

Large diffs are not rendered by default.

745 changes: 515 additions & 230 deletions crates/assistant/src/context.rs

Large diffs are not rendered by default.

Loading

0 comments on commit b129e18

Please sign in to comment.