WIP: resumable stream

This commit is contained in:
Danny Avila 2025-12-11 09:52:15 -05:00
parent 6fb59957d0
commit 21d0dc1a8c
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956
12 changed files with 498 additions and 209 deletions

View file

@ -55,7 +55,7 @@ function ChatView({ index = 0 }: { index?: number }) {
useAdaptiveSSE(addedSubmission, addedChatHelpers, true, index + 1);
// Auto-resume if navigating back to conversation with active job
useResumeOnLoad(conversationId, chatHelpers, index);
useResumeOnLoad(conversationId, chatHelpers.getMessages, index);
const methods = useForm<ChatFormValues>({
defaultValues: { text: '' },