Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
prompt_cache.cpp File Reference

PromptCache implementation — LRU eviction, thread-safe. More...

#include "prompt_cache.h"
#include <entropic/types/logging.h>
#include <algorithm>
Include dependency graph for prompt_cache.cpp:

Go to the source code of this file.

Namespaces

namespace  entropic
 Activate model on GPU (WARM → ACTIVE).
 

Detailed Description

PromptCache implementation — LRU eviction, thread-safe.

Uses FNV-1a 64-bit for cache key hashing. Not a security hash — cache key over <20 entries where collision worst-case is a cache miss, not a security breach.

Version
1.8.3

Definition in file prompt_cache.cpp.