MCPcopy Create free account
hub / github.com/mudler/LocalAI / setUp

Method setUp

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

Source from the content-addressed store, hash-verified

176 """Tests for no match behavior."""
177
178 def setUp(self):
179 self.cache = ThreadSafeLRUPromptCache(max_size=10)
180
181 def test_empty_cache_returns_none(self):
182 """Empty cache should return None and all tokens as remaining."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected