WIP: use a the chat session provider to replay the exported chat logs#1187
Closed
amunger wants to merge 8 commits into
Closed
WIP: use a the chat session provider to replay the exported chat logs#1187amunger wants to merge 8 commits into
amunger wants to merge 8 commits into
Conversation
amunger
commented
Oct 3, 2025
| const edits = Array.isArray(textEdit[1]) ? textEdit[1] : [textEdit[1]]; | ||
| for (const textEdit of edits) { | ||
| try { | ||
| stream.textEdit(uri, textEdit); |
Contributor
Author
There was a problem hiding this comment.
with this solution, I'm seeing that the stream passed to the ChatSessionProvider is not able to use streamed changes in the same way that a contributed intent can, I saw an edit happen once, but without any accept/reject UI, but mostly just ignores any edits that are given to the stream. Most likely by design, but would there be a way to enable that instead? @joshspicer @rebornix
It's also frequently failing to just open the file with the workspace service though, so maybe it's a different issue?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://github.com/microsoft/vscode-copilot-evaluation/issues/357
This would make the chat look more natural and would enable us to drop the additional intent.
The API changed as I was working through this though, so it is broken in its current state.
Also, hitting F5 to debug the replay file will currently cause an infinite loop - just use the replay command to test in this state.