fix(tui): stream legacy thinking deltas visibly

This commit is contained in:
Brooklyn Nicholson 2026-04-26 04:42:04 -05:00
parent bc17310442
commit 7d68ea9501
2 changed files with 20 additions and 1 deletions

View file

@ -220,7 +220,12 @@ export function createGatewayEventHandler(ctx: GatewayEventHandlerContext): (ev:
const text = ev.payload?.text
if (text !== undefined) {
scheduleThinkingStatus(text ? String(text) : statusFromBusy())
const value = String(text)
scheduleThinkingStatus(value || statusFromBusy())
if (value) {
turnController.recordReasoningDelta(value)
}
}
return