Skip to content

Commit 939f2e6

Browse files
tamercubaCopilot
andauthored
fix: reset last user message when clearing chat
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 48e3e4d commit 939f2e6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lua/eca/sidebar.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ function M:clear_chat()
263263
self._is_tool_call_streaming = false
264264
self._is_streaming = false
265265
self._current_response_buffer = ""
266+
self._last_user_message = ""
266267
self._stream_visible_buffer = ""
267268
if self._stream_queue then
268269
self._stream_queue:clear()

0 commit comments

Comments
 (0)