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

Auto-compaction configuration. More...

#include <entropic/types/config.h>

Public Attributes

bool enabled = true
 Enable auto-compaction.
 
float threshold_percent = 0.75f
 Compaction trigger (0.5–0.99)
 
int preserve_recent_turns = 2
 Turns to preserve (1–10)
 
int summary_max_tokens = 1500
 Summary max tokens (500–4000)
 
bool notify_user = true
 Notify user on compaction.
 
bool save_full_history = true
 Save full history before compaction.
 
int tool_result_ttl = 10
 Tool result TTL in turns (>= 1; v2.1.3 #6: gated on fill, no upper bound)
 
float warning_threshold_percent = 0.6f
 Warning trigger (0.3–0.9)
 

Detailed Description

Auto-compaction configuration.

Version
1.8.1

Definition at line 508 of file config.h.

Member Data Documentation

◆ enabled

bool entropic::CompactionConfig::enabled = true

Enable auto-compaction.

Definition at line 509 of file config.h.

◆ notify_user

bool entropic::CompactionConfig::notify_user = true

Notify user on compaction.

Definition at line 513 of file config.h.

◆ preserve_recent_turns

int entropic::CompactionConfig::preserve_recent_turns = 2

Turns to preserve (1–10)

Definition at line 511 of file config.h.

◆ save_full_history

bool entropic::CompactionConfig::save_full_history = true

Save full history before compaction.

Definition at line 514 of file config.h.

◆ summary_max_tokens

int entropic::CompactionConfig::summary_max_tokens = 1500

Summary max tokens (500–4000)

Definition at line 512 of file config.h.

◆ threshold_percent

float entropic::CompactionConfig::threshold_percent = 0.75f

Compaction trigger (0.5–0.99)

Definition at line 510 of file config.h.

◆ tool_result_ttl

int entropic::CompactionConfig::tool_result_ttl = 10

Tool result TTL in turns (>= 1; v2.1.3 #6: gated on fill, no upper bound)

Definition at line 515 of file config.h.

◆ warning_threshold_percent

float entropic::CompactionConfig::warning_threshold_percent = 0.6f

Warning trigger (0.3–0.9)

Definition at line 516 of file config.h.


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