MCPcopy Index your code
hub / github.com/mudler/LocalAI / setUp

Method setUp

backend/python/mlx/test_mlx_cache.py:24–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 """Tests for exact match cache behavior."""
23
24 def setUp(self):
25 self.cache = ThreadSafeLRUPromptCache(max_size=10)
26
27 def test_exact_match_returns_cache_and_empty_remaining(self):
28 """Exact match should return the cache with no remaining tokens."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected