mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
Update useServerStream.ts
This commit is contained in:
parent
875ce4b77e
commit
609d1dfefb
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export default function useServerStream(submission: TSubmission | null) {
|
||||||
const setConversation = useSetRecoilState(store.conversation);
|
const setConversation = useSetRecoilState(store.conversation);
|
||||||
const resetLatestMessage = useResetRecoilState(store.latestMessage);
|
const resetLatestMessage = useResetRecoilState(store.latestMessage);
|
||||||
const { token } = useAuthContext();
|
const { token } = useAuthContext();
|
||||||
|
|
||||||
const { refreshConversations } = store.useConversations();
|
const { refreshConversations } = store.useConversations();
|
||||||
|
|
||||||
const messageHandler = (data: string, submission: TSubmission) => {
|
const messageHandler = (data: string, submission: TSubmission) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue