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

Function TestToolCallFlushesStreamedContent

internal/tui/tui_test.go:2495–2511  ·  view source on GitHub ↗

TestToolCallFlushesStreamedContent: a tool-call event ends the content phase. Whatever streamed before it is rendered and committed *now*, so the user sees styled text *before* the inline tool-call status, not all at once at turn end.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

newTestModelFunction · 0.85
stripANSIFunction · 0.85
handleStreamMethod · 0.80
StringMethod · 0.80

Tested by

no test coverage detected