Skip to content

Commit 32ea056

Browse files
author
Jon Olick
committed
clear chat history on new search
1 parent 6700656 commit 32ea056

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

aisearch_gui.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,7 @@ def _prepare_search(self, is_refine=False):
17101710
# Clear previous results - more aggressive memory cleanup
17111711
if not is_refine:
17121712
self.results_text.clear()
1713+
self.chat_history = [] # Clear chat history for new searches
17131714
self.chat_output.clear()
17141715
self.chat_input.clear()
17151716
self.chat_button.setEnabled(False)

0 commit comments

Comments
 (0)