Skip to content

fix(mcp): drop the cached per-user OAuth token when the credential row changes - #32302

Merged
tin-berri merged 3 commits into
litellm_internal_stagingfrom
litellm_mcp_oauth_cache_invalidate_on_reauth
Jul 8, 2026
Merged

tin-berri merged 3 commits into
litellm_internal_stagingfrom
litellm_mcp_oauth_cache_invalidate_on_reauth

test(mcp): cover invalidate on the redis-backed lazy store path

9e331d8
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis succeeded Jul 8, 2026 in 0s

Performance Gate Passed

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 29 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚡ test_completion_with_tools 4.2 ms 3.2 ms +31.51%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing litellm_mcp_oauth_cache_invalidate_on_reauth (9e331d8) with litellm_internal_staging (db24027)

Open in CodSpeed