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

Method setUp

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

Source from the content-addressed store, hash-verified

275 """Tests for reference counting behavior."""
276
277 def setUp(self):
278 self.cache = ThreadSafeLRUPromptCache(max_size=10)
279
280 def test_multiple_inserts_increment_count(self):
281 """Inserting same tokens multiple times should increment count."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected