Entropic 2.3.8
Local-first agentic inference engine
Loading...
Searching...
No Matches
entropic::PromptCacheConfig Struct Reference

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.
 

Detailed Description

Prompt caching configuration.

Controls host-memory KV cache prefix storage for system prompts. Setting enabled=false or max_bytes=0 both disable caching.

YAML key: inference.prompt_cache
Version
1.8.3

Definition at line 196 of file config.h.

Member Data Documentation

◆ enabled

bool entropic::PromptCacheConfig::enabled = true

Master switch (false = no caching)

Definition at line 198 of file config.h.

◆ log_hits

bool entropic::PromptCacheConfig::log_hits = true

Log cache hit/miss at INFO level.

Definition at line 199 of file config.h.

◆ max_bytes

size_t entropic::PromptCacheConfig::max_bytes = 536870912

Maximum cache RAM (512 MB default)

Definition at line 197 of file config.h.


The documentation for this struct was generated from the following file: