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

Function newestAssistantEmpty

internal/tui/model.go:995–1003  ·  view source on GitHub ↗

newestAssistantEmpty reports whether the turn's final assistant message carried neither text nor a structured tool call. A clean finish always has a summary and a continuing turn always has a tool call, so an empty newest assistant message is always an anomaly: the model stopped mid-task, or its cal

(history []chmctx.Message)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

handleStreamClosedMethod · 0.85
TestNewestAssistantEmptyFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestNewestAssistantEmptyFunction · 0.68