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

Function TestToWireParseErrorArgsStayValidJSON

internal/llm/llm_test.go:939–952  ·  view source on GitHub ↗

TestToWireParseErrorArgsStayValidJSON: when resolve() stamps _parse_error for a truncated tool call and that assistant message round-trips into the next request, toWire must still emit VALID JSON for arguments. Otherwise every later turn re-sends corrupt JSON and the backend 400s forever (session po

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

toWireFunction · 0.85

Tested by

no test coverage detected