fabro/crates/arc-llm/tests
Bryan Helmkamp 7d503180bc Fix flaky multi-turn cache test by checking best ratio across all turns
Provider implicit caching (Gemini, OpenAI) is non-deterministic — cache
hits can occur on some turns but not others. Checking only the final turn
caused intermittent failures. Track the best cache ratio across all turns
instead, which still validates the adapter surfaces cached token counts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:35:42 -04:00
..
integration.rs Fix flaky multi-turn cache test by checking best ratio across all turns 2026-03-08 17:35:42 -04:00