fix: Detect streaming state in reasoning content blocks (#21549)

This commit is contained in:
Aleksander Grygier
2026-04-07 12:04:41 +02:00
committed by GitHub
parent d1f82e382d
commit ecce0087da
5 changed files with 133 additions and 92 deletions
@@ -33,7 +33,7 @@
const showToolCallInProgress = $derived(config().showToolCallInProgress as boolean);
const showThoughtInProgress = $derived(config().showThoughtInProgress as boolean);
const sections = $derived(deriveAgenticSections(message, toolMessages, []));
const sections = $derived(deriveAgenticSections(message, toolMessages, [], isStreaming));
// Parse tool results with images
const sectionsParsed = $derived(