mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-02-28 21:30:18 +01:00
🏄♂️ fix: Handle SSE Stream Edge Case (#8556)
* refactor: Move draft-related utilities to a new `drafts.ts` file * refactor: auto-save draft logic to use new get/set functions * fix: Ensure `getDraft` properly decodes stored draft values * fix: Handle edge case where stream is cancelled before any response, which creates a blank page
This commit is contained in:
parent
f70e0cf849
commit
4c754c1190
4 changed files with 87 additions and 56 deletions
|
|
@ -6,6 +6,7 @@ export * from './files';
|
|||
export * from './latex';
|
||||
export * from './theme';
|
||||
export * from './forms';
|
||||
export * from './drafts';
|
||||
export * from './convos';
|
||||
export * from './presets';
|
||||
export * from './prompts';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue