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

Resolved tier information for building child delegation contexts. More...

#include <entropic/core/engine_types.h>

Public Attributes

std::string system_prompt
 Built for target tier.
 
std::vector< std::string > allowed_tools
 Allowed tool names (gh#121)
 
bool explicit_completion = false
 Requires entropic.complete?
 
std::string completion_instructions
 Instructions for explicit completion.
 
bool valid = false
 False if tier not found.
 
int max_iterations_override = -1
 Per-tier max_iterations (-1 = global, P3-18)
 
int max_tool_calls_per_turn_override = -1
 Per-tier tool cap (-1 = global, P3-18)
 
int max_consecutive_empty_turns_override = -1
 Per-tier empty-turn allowance (-1 = global default, gh#123)
 

Detailed Description

Resolved tier information for building child delegation contexts.

v2.13.0 removed a tools member carrying tool JSON definitions. The facade never populated it and nothing in src/ or include/ ever read what it fed (LoopContext::all_tools). A child's tool menu comes from tier config — get_tool_prompt(tier) → resolve_allowed_tools(h, tier) — and its dispatch gate from allowed_tools below, which IS live: it feeds AgentEngine::tri_get_tier_param, get_tier_allowed_tools and gh#160's isolation_unsafe_tools readOnlyHint refusal.

Version
2.13.0

Definition at line 254 of file engine_types.h.

Member Data Documentation

◆ allowed_tools

std::vector<std::string> entropic::ChildContextInfo::allowed_tools

Allowed tool names (gh#121)

Definition at line 256 of file engine_types.h.

◆ completion_instructions

std::string entropic::ChildContextInfo::completion_instructions

Instructions for explicit completion.

Definition at line 258 of file engine_types.h.

◆ explicit_completion

bool entropic::ChildContextInfo::explicit_completion = false

Requires entropic.complete?

Definition at line 257 of file engine_types.h.

◆ max_consecutive_empty_turns_override

int entropic::ChildContextInfo::max_consecutive_empty_turns_override = -1

Per-tier empty-turn allowance (-1 = global default, gh#123)

Definition at line 262 of file engine_types.h.

◆ max_iterations_override

int entropic::ChildContextInfo::max_iterations_override = -1

Per-tier max_iterations (-1 = global, P3-18)

Definition at line 260 of file engine_types.h.

◆ max_tool_calls_per_turn_override

int entropic::ChildContextInfo::max_tool_calls_per_turn_override = -1

Per-tier tool cap (-1 = global, P3-18)

Definition at line 261 of file engine_types.h.

◆ system_prompt

std::string entropic::ChildContextInfo::system_prompt

Built for target tier.

Definition at line 255 of file engine_types.h.

◆ valid

bool entropic::ChildContextInfo::valid = false

False if tier not found.

Definition at line 259 of file engine_types.h.


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