MCPcopy Create free account
hub / github.com/codehamr/codehamr / handleStreamClosed

Method handleStreamClosed

internal/tui/model.go:911–972  ·  view source on GitHub ↗

handleStreamClosed drives what happens after one round's stream finishes: dispatch the next pending tool call, or, if none, finalize the turn and hand control back. A turn ends precisely when the assistant emits no tool calls; there is no loop tool to land on.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 11

dispatchNextToolMethod · 0.95
startChatMethod · 0.95
appendLineMethod · 0.95
maybeVerifyNudgeMethod · 0.95
finalizeTurnMethod · 0.95
endTurnMethod · 0.95
fireQueuedMethod · 0.95
newestAssistantEmptyFunction · 0.85
dbgWritefFunction · 0.85
toolCallLeakWarningFunction · 0.85
activeMethod · 0.80