Skip to content

Commit 9e6aa4d

Browse files
avoid status reset
1 parent cdb691c commit 9e6aa4d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/lightning_web/live/ai_assistant/component.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,9 @@ defmodule LightningWeb.AiAssistant.Component do
212212
end
213213

214214
defp handle_streaming_complete(socket) do
215-
# Keep streamed content in memory until payload arrives
215+
# Keep streamed content and status in memory until payload arrives
216216
# This allows saving content + code together in one operation
217217
socket
218-
|> assign(streaming_status: nil)
219218
end
220219

221220
defp handle_streaming_payload_complete(payload_data, socket) do

0 commit comments

Comments
 (0)