Commit a1b7b9b
Fix Gemini streaming response not persisted when leaving chat
Add yield final_content at end of successful streaming to ensure
the async iterator completes properly and the response is persisted
even when the user navigates away during streaming.
Co-authored-by: owndev <69784886+owndev@users.noreply.github.com>1 parent 8062ed3 commit a1b7b9b
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2052 | 2052 | | |
2053 | 2053 | | |
2054 | 2054 | | |
| 2055 | + | |
| 2056 | + | |
| 2057 | + | |
| 2058 | + | |
2055 | 2059 | | |
2056 | 2060 | | |
2057 | 2061 | | |
| |||
0 commit comments