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

Method setUp

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

Source from the content-addressed store, hash-verified

325 """Tests for multi-model namespacing."""
326
327 def setUp(self):
328 self.cache = ThreadSafeLRUPromptCache(max_size=10)
329
330 def test_same_tokens_different_models_are_separate(self):
331 """Same token sequence under different models should be independent."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected