Skip to content

fix(caching): bound the semantic cache embedding lookup so a dead embedding endpoint can't block requests - #37742

Merged
mateo-berri merged 4 commits into
litellm_internal_stagingfrom
litellm_lit5879_semantic_cache_embedding_timeout
Aug 21, 2026
Merged

mateo-berri merged 4 commits into
litellm_internal_stagingfrom
litellm_lit5879_semantic_cache_embedding_timeout

chore(constants): drop the redundant comment on the semantic cache de…

d57715b
Select commit
Loading
Failed to load commit list.
CodSpeed / CodSpeed Performance Analysis failed Aug 21, 2026 in 0s

Performance Regression: -10.15%

⚠️ 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 regressed benchmark
✅ 30 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
❌ test_token_counter_multi_turn 531.3 µs 591.3 µs -10.15%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing litellm_lit5879_semantic_cache_embedding_timeout (d57715b) with litellm_internal_staging (e07a712)1

Open in CodSpeed

Footnotes

  1. No successful run was found on litellm_internal_staging (dad4c1a) during the generation of this report, so e07a712 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩