|
Entropic 2.9.4
Local-first agentic inference engine
|
Prompt caching configuration. More...
#include <entropic/types/config.h>
Public Attributes | |
| size_t | max_bytes = 536870912 |
| Maximum cache RAM (512 MB default) | |
| bool | enabled = true |
| Master switch (false = no caching) | |
| bool | log_hits = true |
| Log cache hit/miss at INFO level. | |
| bool | warm_keep = true |
| gh#96 (v2.7.5): keep the prior turn's KV resident and re-decode only the appended delta (warm-keep / incremental prefill) instead of re-decoding the whole post-system history every turn. | |
Prompt caching configuration.
Controls host-memory KV cache prefix storage for system prompts. Setting enabled=false or max_bytes=0 both disable caching.
| bool entropic::PromptCacheConfig::enabled = true |
| bool entropic::PromptCacheConfig::log_hits = true |
| size_t entropic::PromptCacheConfig::max_bytes = 536870912 |
| bool entropic::PromptCacheConfig::warm_keep = true |
gh#96 (v2.7.5): keep the prior turn's KV resident and re-decode only the appended delta (warm-keep / incremental prefill) instead of re-decoding the whole post-system history every turn.
Default on; the oracle-equality tests toggle it off as the ground-truth comparison.