Skip to content

fix: ensure cleared Duo Chat does not persist

Description

Fixes an issue where Duo Chat history was retained within VSCode state after running /clear or /clean

History was being correctly removed serverside, but not within VSCode, so closing + reopening the Duo Chat panel was resulting in the chat history being restored. It is now correctly removed.

Related Issues

Resolves #1420 (closed)

How has this been tested?

  • Open Duo Chat panel
  • Chat with Duo, get some history
  • Run /clear command
  • Close Duo Chat panel
  • Re-open panel, ensure history does not come back

Screenshots (if appropriate)

before after
clear-chat-before clear-chat-after

What CHANGELOG entry will this MR create?

  • fix: Bug fix fixes - a user-facing issue in production - included in changelog
  • feature: New feature - a user-facing change which adds functionality - included in changelog
  • BREAKING CHANGE: (fix or feature that would cause existing functionality to change) - should bump major version, mentioned in the changelog
  • None - other non-user-facing changes

Closes #1420 (closed)

Edited by Elwyn Benson

Merge request reports

Loading