refactor: login and streaming issues

This commit is contained in:
cogwheel0
2025-09-26 20:57:54 +05:30
parent 3c959c83bf
commit 0c2bd5b4f9
4 changed files with 85 additions and 37 deletions

View File

@@ -1291,8 +1291,6 @@ Future<void> regenerateMessage(
final activeStream = attachUnifiedChunkedStreaming(
stream: stream,
webSearchEnabled: webSearchEnabled,
isBackgroundFlow: isBackgroundFlow,
suppressSocketContentInitially: !isBackgroundFlow,
assistantMessageId: assistantMessageId,
modelId: selectedModel.id,
modelItem: modelItem,
@@ -1828,8 +1826,6 @@ Future<void> _sendMessageInternal(
final activeStream = attachUnifiedChunkedStreaming(
stream: stream,
webSearchEnabled: webSearchEnabled,
isBackgroundFlow: isBackgroundFlow,
suppressSocketContentInitially: !isBackgroundFlow,
assistantMessageId: assistantMessageId,
modelId: selectedModel.id,
modelItem: modelItem,