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

Function TestChatToolArgsStreamLive

internal/llm/llm_test.go:162–197  ·  view source on GitHub ↗

TestChatToolArgsStreamLive: each tool-call arguments fragment is forwarded as an EventToolArgs as it arrives, so the UI can tick its live token estimate while a file streams into write_file, not just once at stream end. Fragments concatenate to the full arguments and all precede the resolved EventTo

(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 5

sseOKFunction · 0.85
collectFunction · 0.85
ChatMethod · 0.80
StringMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected