-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Make slash command output streamable #19632
Commits on Oct 15, 2024
-
context_servers: Fix protocol serialization
The protocol requires that certain elements can't be null but instead must be skipped. We correctly skip these now.
Configuration menu - View commit details
-
Copy full SHA for 98fc57e - Browse repository at this point
Copy the full SHA 98fc57eView commit details -
context_servers: Remove id from notifications
JSON RPC notification do not have to contain an id. We do not generate or use id's to ensure we don't rely on them being there.
Configuration menu - View commit details
-
Copy full SHA for c330135 - Browse repository at this point
Copy the full SHA c330135View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fa202b - Browse repository at this point
Copy the full SHA 8fa202bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 525c838 - Browse repository at this point
Copy the full SHA 525c838View commit details -
context_servers: Show argument as a label
Unlike normal commands which usually always have autocompletion, context server commands often don't. This makes it hard to understand what can be passed, particularly as commands change often and depending on config. We hence show the name of the argument now as a label (arguable all commands could benefit from that).
Configuration menu - View commit details
-
Copy full SHA for 9426903 - Browse repository at this point
Copy the full SHA 9426903View commit details -
Configuration menu - View commit details
-
Copy full SHA for 23e8842 - Browse repository at this point
Copy the full SHA 23e8842View commit details -
slash_commands: Introduce stream based slash commands
This commit replaces the existing SlashCommandOutput with a stream based approach. This allows for slash commands to (1) stream results if needed (2) produce multi-turn messages, e.g. asssistant or system messages (3) will allow for intermediate progress updates during slash command execution. The commit does the following * Introduce `SlashOutputEvent` as events that slash commands can emit. * Introduce `SlashCommandResult` as an alias to a boxed stream of events. * Move all commands to the new command result format.
Configuration menu - View commit details
-
Copy full SHA for c9c7412 - Browse repository at this point
Copy the full SHA c9c7412View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ded3e4 - Browse repository at this point
Copy the full SHA 3ded3e4View commit details -
assistant: run_commands_in_output -> run_commands_in_ranges
We are updating the way we deal with commands in output text. Since commands can now emit content events one at a time, each event can determine if it should be run. To support this, we now grab a range and run only commands in the ranges of the content that specified to do so.
Configuration menu - View commit details
-
Copy full SHA for 9156c3f - Browse repository at this point
Copy the full SHA 9156c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b93237 - Browse repository at this point
Copy the full SHA 3b93237View commit details -
assistant: Merge roles when merge_same_roles true
When a slash command issues multiple `StartMessage` events with the same role we merge them if merge_same_roles is set to true.
Configuration menu - View commit details
-
Copy full SHA for d4ea37c - Browse repository at this point
Copy the full SHA d4ea37cView commit details -
context_servers: Update protocol and return map of SamplingMessages f…
…rom slash commands
Configuration menu - View commit details
-
Copy full SHA for f2e7d02 - Browse repository at this point
Copy the full SHA f2e7d02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b66a6f - Browse repository at this point
Copy the full SHA 3b66a6fView commit details
Commits on Oct 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b04ef6a - Browse repository at this point
Copy the full SHA b04ef6aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6884ddb - Browse repository at this point
Copy the full SHA 6884ddbView commit details -
Don't reparse slash command when inserting a newline at the end of it
Co-Authored-By: David <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc80b1b - Browse repository at this point
Copy the full SHA dc80b1bView commit details -
Always insert a trailing newline after a section ends
Co-Authored-By: David <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f2873f7 - Browse repository at this point
Copy the full SHA f2873f7View commit details
Commits on Oct 23, 2024
-
Show a block for invoked slash commands that haven't finished yet
Co-Authored-By: Marshall <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 932b333 - Browse repository at this point
Copy the full SHA 932b333View commit details -
Co-authored-by: Antonio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 813e106 - Browse repository at this point
Copy the full SHA 813e106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 036b060 - Browse repository at this point
Copy the full SHA 036b060View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8407f8 - Browse repository at this point
Copy the full SHA e8407f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1963c81 - Browse repository at this point
Copy the full SHA 1963c81View commit details -
Configuration menu - View commit details
-
Copy full SHA for af73caa - Browse repository at this point
Copy the full SHA af73caaView commit details -
Configuration menu - View commit details
-
Copy full SHA for df0cf4d - Browse repository at this point
Copy the full SHA df0cf4dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 320af9c - Browse repository at this point
Copy the full SHA 320af9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ccca8bd - Browse repository at this point
Copy the full SHA ccca8bdView commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 65d8048 - Browse repository at this point
Copy the full SHA 65d8048View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e182be - Browse repository at this point
Copy the full SHA 2e182beView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6642fc5 - Browse repository at this point
Copy the full SHA 6642fc5View commit details -
Fixed streaming slash command output insertion
Co-authored-by: Antonio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a8bcb3d - Browse repository at this point
Copy the full SHA a8bcb3dView commit details -
Revert changes to parsing to fix slash command running
Co-authored-by: Antonio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 24cf9c4 - Browse repository at this point
Copy the full SHA 24cf9c4View commit details -
Pass command information to block renderer
Co-authored-by: Antonio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 583fbf7 - Browse repository at this point
Copy the full SHA 583fbf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2287f2f - Browse repository at this point
Copy the full SHA 2287f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 673c3af - Browse repository at this point
Copy the full SHA 673c3afView commit details -
Configuration menu - View commit details
-
Copy full SHA for df50cbe - Browse repository at this point
Copy the full SHA df50cbeView commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6a3a87a - Browse repository at this point
Copy the full SHA 6a3a87aView commit details
Commits on Oct 29, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6f1eafb - Browse repository at this point
Copy the full SHA 6f1eafbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88a0975 - Browse repository at this point
Copy the full SHA 88a0975View commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 55dd7d1 - Browse repository at this point
Copy the full SHA 55dd7d1View commit details
Commits on Oct 31, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fd4bda0 - Browse repository at this point
Copy the full SHA fd4bda0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25f6a1e - Browse repository at this point
Copy the full SHA 25f6a1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2da5290 - Browse repository at this point
Copy the full SHA 2da5290View commit details -
WIP: Fix some issues with streaming in content into a crease
Co-authored-by: Max <[email protected]> Co-authored-by: Antonio <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d9a2289 - Browse repository at this point
Copy the full SHA d9a2289View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1406f5f - Browse repository at this point
Copy the full SHA 1406f5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ddffd7 - Browse repository at this point
Copy the full SHA 8ddffd7View commit details
Commits on Nov 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 382dd5a - Browse repository at this point
Copy the full SHA 382dd5aView commit details -
Co-authored-by: Max <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5c10a5a - Browse repository at this point
Copy the full SHA 5c10a5aView commit details
Commits on Nov 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6efa983 - Browse repository at this point
Copy the full SHA 6efa983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f1c701 - Browse repository at this point
Copy the full SHA 2f1c701View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00123a6 - Browse repository at this point
Copy the full SHA 00123a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcf95bb - Browse repository at this point
Copy the full SHA bcf95bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8346801 - Browse repository at this point
Copy the full SHA 8346801View commit details -
Make the slash command test pass
Co-Authored-By: Max <[email protected]> Co-Authored-By: Will <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a52bc59 - Browse repository at this point
Copy the full SHA a52bc59View commit details -
Add APIs for removing folds with specific ranges, fix unfolding of pe…
…nding slash commands
Configuration menu - View commit details
-
Copy full SHA for 332a679 - Browse repository at this point
Copy the full SHA 332a679View commit details -
Ensure slash command output is contained in pending fold while comman…
…d is running Co-authored-by: Will <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a527613 - Browse repository at this point
Copy the full SHA a527613View commit details -
On slash command completion, remove pending output folds by its place…
…holder type tag Co-authored-by: Will <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 798568e - Browse repository at this point
Copy the full SHA 798568eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 068d2d4 - Browse repository at this point
Copy the full SHA 068d2d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b6627b - Browse repository at this point
Copy the full SHA 1b6627bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4eac88 - Browse repository at this point
Copy the full SHA d4eac88View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6eee03 - Browse repository at this point
Copy the full SHA f6eee03View commit details