fix sse js event
This commit is contained in:
16
RETRIEX_SSE_FINAL_THINK_CLEANUP_FIX_README.md
Normal file
16
RETRIEX_SSE_FINAL_THINK_CLEANUP_FIX_README.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# RetrieX SSE final think cleanup fix
|
||||
|
||||
This patch fixes a frontend finalization issue where the SSE stream could receive
|
||||
`event: done` / `[DONE]`, but the last transient `.think` status such as
|
||||
"Denke nach..." stayed visible.
|
||||
|
||||
The streaming renderer still keeps the latest `.think` block while the answer is
|
||||
running. On final `done`, it now removes all transient `.think` blocks and also
|
||||
removes the loader CSS class. This is a UI-only fix and does not change retrieval,
|
||||
prompting, shop search, scoring, or SSE job logic.
|
||||
|
||||
Changed files:
|
||||
|
||||
- public/assets/js/base.js
|
||||
|
||||
After applying the patch, clear Symfony/browser asset cache as appropriate.
|
||||
Reference in New Issue
Block a user