Skip to content

Conversation

@jwangxx
Copy link
Contributor

@jwangxx jwangxx commented Jul 22, 2025

Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed.

The corresponding issue is #257434

@Yoyokrazy Yoyokrazy assigned roblourens and unassigned Yoyokrazy Jul 22, 2025
@jwangxx jwangxx force-pushed the add-ChatResponseStream-clear branch from 6059f7d to e253b79 Compare July 23, 2025 11:35
@jwangxx jwangxx marked this pull request as ready for review July 23, 2025 11:44
@jwangxx jwangxx force-pushed the add-ChatResponseStream-clear branch from e253b79 to f5511a6 Compare July 23, 2025 14:53
@jwangxx jwangxx force-pushed the add-ChatResponseStream-clear branch from 9f0960a to 1d080b3 Compare July 31, 2025 08:49
@jwangxx jwangxx force-pushed the add-ChatResponseStream-clear branch from 1d080b3 to b24fdb2 Compare July 31, 2025 16:13
@roblourens roblourens changed the base branch from main to release/1.103 August 1, 2025 15:43
@roblourens roblourens added this to the July 2025 milestone Aug 1, 2025
@roblourens roblourens added candidate Issue identified as probable candidate for fixing in the next release and removed triage-needed labels Aug 1, 2025
@roblourens roblourens enabled auto-merge (squash) August 1, 2025 22:07
@roblourens roblourens closed this Aug 1, 2025
auto-merge was automatically disabled August 1, 2025 23:08

Pull request was closed

@roblourens roblourens reopened this Aug 1, 2025
@roblourens roblourens enabled auto-merge (squash) August 1, 2025 23:08
@roblourens roblourens merged commit 0017120 into microsoft:release/1.103 Aug 2, 2025
49 checks passed
roblourens pushed a commit that referenced this pull request Aug 2, 2025
…ich results in a warning being displayed (#257271)

* Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed

* Changing ChatResponseStream.clear to ChatResponseStream.clearToPreviousToolInvocation and only clearing up to the last tool invocation

* Remove unnecessary code block
roblourens added a commit that referenced this pull request Aug 4, 2025
…ich results in a warning being displayed (#257271) (#259370)

* Add the ability to clear a ChatResponseStream, passing in a reason which results in a warning being displayed

* Changing ChatResponseStream.clear to ChatResponseStream.clearToPreviousToolInvocation and only clearing up to the last tool invocation

* Remove unnecessary code block

Co-authored-by: James Wang <120431051+jwangxx@users.noreply.github.com>
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

candidate Issue identified as probable candidate for fixing in the next release

4 participants