mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-14 22:48:52 +01:00
- Introduced a new hook, useResumableStreamToggle, to automatically toggle resumable streams off for assistants endpoints and restore the previous value when switching away. - Updated ChatView component to utilize the new hook, enhancing the handling of streaming behavior based on endpoint type. - Refactored imports in ChatView for better organization.
8 lines
522 B
TypeScript
8 lines
522 B
TypeScript
export { default as useSSE } from './useSSE';
|
|
export { default as useResumableSSE } from './useResumableSSE';
|
|
export { default as useAdaptiveSSE } from './useAdaptiveSSE';
|
|
export { default as useResumeOnLoad } from './useResumeOnLoad';
|
|
export { default as useStepHandler } from './useStepHandler';
|
|
export { default as useContentHandler } from './useContentHandler';
|
|
export { default as useAttachmentHandler } from './useAttachmentHandler';
|
|
export { default as useResumableStreamToggle } from './useResumableStreamToggle';
|