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

Function TestSystemPromptFitsFixedSystemReservation

internal/tui/tui_test.go:74–83  ·  view source on GitHub ↗

TestSystemPromptFitsFixedSystemReservation pins ctx.FixedSystem against the embedded prompt. Grow the prompt past the reservation and Pack over-allocates to history on small-ctx profiles, so the next request exceeds the server's limit and 400s (or is silently truncated). On failure, raise ctx.FixedS

(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

BootstrapFunction · 0.92
NewFunction · 0.92
ActiveProfileMethod · 0.80
TokensMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected