Commit e40fef2
fix(tui): show commentary-phase text when no final_answer blocks present
TUI was invisible for messages with only commentary-phase text blocks
because extractAssistantVisibleText returned undefined when
hasExplicitPhasedTextBlocks=true and no final_answer phase existed.
Add commentary-phase fallback before unphased extraction so streaming
deltas and final messages are visible during the commentary phase and
when models omit the final-answer tag entirely.
Fixes #34513, #35523, #37647, #40824, #34537
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 283b72f commit e40fef2
1 file changed
Lines changed: 6 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
187 | 193 | | |
188 | 194 | | |
0 commit comments