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

Function TestPackDropsEmptyIDToolMessages

internal/ctx/ctx_test.go:156–172  ·  view source on GitHub ↗

TestPackDropsEmptyIDToolMessages: an empty-ID tool_call must not let subsequent empty-ToolCallID tool messages ride through as "paired". An unidentifiable tool message can never be paired, so it's always dropped, else OpenAI-compat backends 400 on the bare tool message.

(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

PackFunction · 0.85

Tested by

no test coverage detected