|
Entropic 2.14.3
Local-first agentic inference engine
|
Delegate a task to a child inference loop. More...
#include <entropic/core/directives.h>


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 | |
| std::vector< ContextRef > | context |
| gh#162 (v2.13.0): seeded file references | |
| bool | resume_by_target = false |
gh#162 (v2.13.0): resume the most recent delegation to target instead of naming a storage id. | |
Public Attributes inherited from entropic::Directive | |
| entropic_directive_type_t | type |
| Discriminant for dispatch. | |
Delegate a task to a child inference loop.
gh#162 (v2.13.0): context carries the lead's already-earned file references into the child's opening message. Measured on the reporting consumer, a child that had to re-derive a path it was never given cost 3.8x wall time and still answered from inference about a file that does not exist.
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).
Definition at line 106 of file directives.h.
|
inline |
Construct a Delegate directive.
| tgt | Target tier. |
| tsk | Task description. |
| mt | Max turns. |
| resume_id | Optional delegation id to resume from (gh#32). |
Definition at line 125 of file directives.h.
| std::vector<ContextRef> entropic::DelegateDirective::context |
gh#162 (v2.13.0): seeded file references
Definition at line 111 of file directives.h.
| int entropic::DelegateDirective::max_turns = -1 |
Max turns (-1 = default)
Definition at line 109 of file directives.h.
gh#162 (v2.13.0): resume the most recent delegation to target instead of naming a storage id.
The id is resolved by the engine at admission, because the tool cannot see storage.
Definition at line 115 of file directives.h.
| std::string entropic::DelegateDirective::resume_from_delegation_id |
gh#32 (v2.1.6): empty = fresh delegate
Definition at line 110 of file directives.h.
| std::string entropic::DelegateDirective::target |
Target tier for delegation.
Definition at line 107 of file directives.h.
| std::string entropic::DelegateDirective::task |
Task description.
Definition at line 108 of file directives.h.