Skip to content

Commit 83d3d23

Browse files
authored
fix: Clear ContextSize donut on new conversation. (#1625)
1 parent 0c259c2 commit 83d3d23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/chat

com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/chat/ChatView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,7 @@ private void clearCurrentConversation() {
10961096
return;
10971097
}
10981098

1099+
this.chatServiceManager.getContextWindowService().clearContextSize();
10991100
this.chatServiceManager.getReferencedFileService().updateReferencedFiles(List.of());
11001101
SwtUtils.invokeOnDisplayThreadAsync(this.chatServiceManager.getFileToolService()::disposeWorkingSetBar);
11011102

0 commit comments

Comments
 (0)