Skip to content
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

Update IChatTransfer to store location and toolsAgentEnablement state and fix restoring chat to correct ChatViewPane #241651

Merged
merged 5 commits into from
Feb 24, 2025

Conversation

bhavyaus
Copy link
Collaborator

@bhavyaus bhavyaus commented Feb 23, 2025

  • Added a check in ChatViewPane to ensure that the location matches before attempting to restore the session. This prevents chat sessions from the Edits view from being restored to the Panel view when transferring chat (created first).
  • Updated the IChatTransfer to hold both the location and the status of agent mode enablement, allowing the restoration of the Edits view session state to be in "Agents" mode.

@bhavyaus bhavyaus force-pushed the dev/bhavyau/transfer-chat branch from 89187bb to 42a14f9 Compare February 23, 2025 23:25
@bhavyaus bhavyaus requested a review from roblourens February 23, 2025 23:31
@bhavyaus bhavyaus marked this pull request as ready for review February 23, 2025 23:31
@vs-code-engineering vs-code-engineering bot added this to the February 2025 milestone Feb 23, 2025
@bhavyaus bhavyaus force-pushed the dev/bhavyau/transfer-chat branch from 42a14f9 to 4fac2d2 Compare February 24, 2025 02:31
@bhavyaus bhavyaus requested a review from roblourens February 24, 2025 02:35
@bhavyaus bhavyaus force-pushed the dev/bhavyau/transfer-chat branch from 68dd22a to c5dc527 Compare February 24, 2025 05:06
@bhavyaus bhavyaus changed the title Save toolsAgentEnabled status to ISerializableData and fix restoring chat to correct ChatViewPane Update IChatTransfer to store location and toolsAgentEnablement state and fix restoring chat to correct ChatViewPane Feb 24, 2025
@bhavyaus bhavyaus enabled auto-merge (squash) February 24, 2025 05:10
@bhavyaus bhavyaus requested a review from roblourens February 24, 2025 05:11
@bhavyaus bhavyaus merged commit fa907e1 into main Feb 24, 2025
8 checks passed
@bhavyaus bhavyaus deleted the dev/bhavyau/transfer-chat branch February 24, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants