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

Delegate a task to a child inference loop. More...

#include <entropic/core/directives.h>

Inheritance diagram for entropic::DelegateDirective:
Collaboration diagram for entropic::DelegateDirective:

Public Member Functions

 DelegateDirective (std::string tgt="", std::string tsk="", int mt=-1, std::string resume_id="")
 Construct a Delegate directive.
 

Public Attributes

std::string target
 Target tier for delegation.
 
std::string task
 Task description.
 
int max_turns = -1
 Max turns (-1 = default)
 
std::string resume_from_delegation_id
 gh#32 (v2.1.6): empty = fresh delegate
 
- Public Attributes inherited from entropic::Directive
entropic_directive_type_t type
 Discriminant for dispatch.
 

Detailed Description

Delegate a task to a child inference loop.

gh#32 (v2.1.6): resume_from_delegation_id opts into resume mode — the child context is seeded with the prior delegation's conversation history loaded from storage, then the new task is appended as a user message. Empty means a fresh cold start (the historical default).

Version
2.1.6

Definition at line 84 of file directives.h.

Constructor & Destructor Documentation

◆ DelegateDirective()

entropic::DelegateDirective::DelegateDirective ( std::string  tgt = "",
std::string  tsk = "",
int  mt = -1,
std::string  resume_id = "" 
)
inline

Construct a Delegate directive.

Parameters
tgtTarget tier.
tskTask description.
mtMax turns.
resume_idOptional delegation id to resume from (gh#32).
Version
2.1.6

Definition at line 98 of file directives.h.

Member Data Documentation

◆ max_turns

int entropic::DelegateDirective::max_turns = -1

Max turns (-1 = default)

Definition at line 87 of file directives.h.

◆ resume_from_delegation_id

std::string entropic::DelegateDirective::resume_from_delegation_id

gh#32 (v2.1.6): empty = fresh delegate

Definition at line 88 of file directives.h.

◆ target

std::string entropic::DelegateDirective::target

Target tier for delegation.

Definition at line 85 of file directives.h.

◆ task

std::string entropic::DelegateDirective::task

Task description.

Definition at line 86 of file directives.h.


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