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

Class SearchResult

backend/python/mlx/mlx_cache.py:33–39  ·  view source on GitHub ↗

Result of searching the cache trie.

Source from the content-addressed store, hash-verified

31
32@dataclass
33class SearchResult:
34 """Result of searching the cache trie."""
35 model: Any
36 exact: Optional[List[int]]
37 shorter: Optional[List[int]]
38 longer: Optional[List[int]]
39 common_prefix: int
40
41
42class ThreadSafeLRUPromptCache:

Callers 1

_searchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected