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

Prune old tool results from context. More...

#include <entropic/core/directives.h>

Inheritance diagram for entropic::PruneMessagesDirective:
Collaboration diagram for entropic::PruneMessagesDirective:

Public Member Functions

 PruneMessagesDirective (int k=2)
 Construct a PruneMessages directive.
 

Public Attributes

int keep_recent = 2
 How many recent results to keep.
 
- Public Attributes inherited from entropic::Directive
entropic_directive_type_t type
 Discriminant for dispatch.
 

Detailed Description

Prune old tool results from context.

Version
1.8.4

Definition at line 201 of file directives.h.

Constructor & Destructor Documentation

◆ PruneMessagesDirective()

entropic::PruneMessagesDirective::PruneMessagesDirective ( int  k = 2)
inlineexplicit

Construct a PruneMessages directive.

Parameters
kKeep recent count.
Version
1.8.4

Definition at line 209 of file directives.h.

Member Data Documentation

◆ keep_recent

int entropic::PruneMessagesDirective::keep_recent = 2

How many recent results to keep.

Definition at line 202 of file directives.h.


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