mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 07:29:35 +08:00
fix: streaming
This commit is contained in:
@@ -441,7 +441,7 @@ async function processQueue(streamingState: StreamingState, res: Response, reque
|
||||
} catch (error) {
|
||||
console.error('Error in streaming:', error);
|
||||
} finally {
|
||||
// Reset state and remove from queue
|
||||
// Clear state before moving to next item
|
||||
streamingState.isEmitting = false;
|
||||
streamingState.currentlyStreaming = false;
|
||||
streamingState.remainingContent = '';
|
||||
|
||||
Reference in New Issue
Block a user