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

Function TestPackAnchorsUserTaskOverBudget

internal/ctx/ctx_test.go:483–505  ·  view source on GitHub ↗

TestPackAnchorsUserTaskOverBudget: a long single turn (one small task message, then many large assistant rounds that fill the budget) would let the newest-first walk evict the sole user task, leaving a userless window that 400s every OpenAI-compat backend ("no user query found in messages"). Pack mu

(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