test: vary marathon-turn fixture args — identical calls now legitimately dedupe to stubs

This commit is contained in:
Teknium
2026-08-20 00:04:39 -07:00
parent 761990b780
commit c2f5d2da21
@@ -72,7 +72,12 @@ def _tool_call(i: int):
return SimpleNamespace(
id=f"call_{i}",
type="function",
function=SimpleNamespace(name="web_search", arguments='{"query": "x"}'),
# Vary the query per call: a real marathon turn issues distinct
# lookups, and identical (args, result) pairs are now legitimately
# deduped into reference stubs by the stall-guard subsystem —
# zero-variance args here would deflate the very context pressure
# this test exists to exercise.
function=SimpleNamespace(name="web_search", arguments=f'{{"query": "x{i}"}}'),
)