Merge concurrent TUI documentation update
This commit is contained in:
@@ -1531,9 +1531,7 @@ export function createTuiChat(
|
|||||||
recordEventUsage(tokens, event)
|
recordEventUsage(tokens, event)
|
||||||
if (event.type === 'turn/start' && runningStatus !== undefined) runningStatus.turn = event.data.turn
|
if (event.type === 'turn/start' && runningStatus !== undefined) runningStatus.turn = event.data.turn
|
||||||
if (event.type === 'assistant/message' && streaming?.isSettled()) streaming = undefined
|
if (event.type === 'assistant/message' && streaming?.isSettled()) streaming = undefined
|
||||||
// Standalone compaction runs while the agent remains idle, so only the
|
// Track live standalone compaction state.
|
||||||
// live durable bracket can announce its in-flight state without mistaking
|
|
||||||
// a stale resumed orphan for current work.
|
|
||||||
if (event.type === 'compact/start' && event.data.turn === null) {
|
if (event.type === 'compact/start' && event.data.turn === null) {
|
||||||
if (compacting === undefined) {
|
if (compacting === undefined) {
|
||||||
const startedAt = now()
|
const startedAt = now()
|
||||||
|
|||||||
Reference in New Issue
Block a user