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

Function TestMessageTokensCountsToolCallArguments

internal/ctx/ctx_test.go:45–54  ·  view source on GitHub ↗

TestMessageTokensCountsToolCallArguments pins ToolCall.Arguments accounting in Message.Tokens: it feeds the budget on every tool-using turn, yet no other test populates Arguments. Asserts the delta so the +8 per-message overhead can't mask a dropped Arguments loop.

(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

TokensMethod · 0.80

Tested by

no test coverage detected