Conversation
Greptile SummaryThis PR is a substantial refactor of the chat streaming UI, replacing the old "streaming section outside virtualization" architecture with an in-virtualizer approach that integrates streaming content directly into each message group. It also introduces Key changes:
Confidence Score: 3/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant UC as useChat
participant SS as streamingStore
participant MMR as MultiModelResponse
participant CR as ContentRound
UC->>SS: initStreaming(model)
loop Each tool-calling iteration
UC->>SS: appendContent / appendReasoningContent (tokens)
UC->>SS: completeStream(usage)
UC->>SS: pushCompletedRound({reasoning, content})<br/>resets content="" & reasoningContent=""
UC->>SS: startExecutionRound / updateToolExecution (live tools)
Note over MMR: completedRounds set → ToolExecutionBlock suppressed<br/>Only "Processing…" shown during tool execution
UC->>SS: setCompletedRoundToolExecution(round)<br/>(called after tools complete)
UC->>SS: resumeStreaming()
end
UC->>SS: appendContent / completeStream (final round)
UC->>SS: pushCompletedRound({content: finalAnswer})
UC->>SS: clearStreams()
MMR->>CR: render each CompletedRound<br/>(reasoning + content + ExecutionSummaryBar)
|
No description provided.