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

Identity frontmatter — full tier identity metadata. More...

#include <entropic/prompts/manager.h>

Public Attributes

PromptType type = PromptType::IDENTITY
 Always IDENTITY.
 
int version = 1
 Schema version.
 
std::string name
 Tier name (e.g., "lead")
 
std::vector< std::string > focus
 Focus areas (min 1)
 
std::vector< std::string > examples
 Few-shot examples.
 
std::optional< std::string > grammar
 Grammar file reference.
 
std::optional< std::string > auto_chain
 Auto-chain target tier.
 
std::optional< std::vector< std::string > > allowed_tools
 Tool filter.
 
std::optional< std::vector< std::string > > bash_commands
 Allowed bash commands.
 
int max_output_tokens = 1024
 Default max output tokens.
 
float temperature = 0.7f
 Default temperature.
 
float repeat_penalty = 1.1f
 Default repetition penalty.
 
bool enable_thinking = false
 Default thinking mode.
 
bool interstitial = false
 Interstitial role.
 
bool routable = true
 Visible to router.
 
bool explicit_completion = false
 Requires explicit completion.
 
std::vector< std::string > validation_rules
 Per-identity constitutional rules (v2.0.6)
 
bool relay_single_delegate = false
 Skip re-synthesis when single delegate returns (v2.0.11)
 
int max_iterations = -1
 Per-identity loop iteration cap; -1 = use global (E6)
 
int max_tool_calls_per_turn = -1
 Per-identity tool call cap; -1 = use global (E6)
 
std::optional< std::unordered_map< std::string, PhaseConfig > > phases
 Named phases.
 
std::optional< BenchmarkSpecbenchmark
 Benchmark definition.
 

Detailed Description

Identity frontmatter — full tier identity metadata.

Maps to Python's IdentityFrontmatter. Inference behavior params live here (not in ModelConfig). Config contains hardware/load-time params only.

Version
1.8.1

Definition at line 65 of file manager.h.

Member Data Documentation

◆ allowed_tools

std::optional<std::vector<std::string> > entropic::prompts::IdentityFrontmatter::allowed_tools

Tool filter.

Definition at line 74 of file manager.h.

◆ auto_chain

std::optional<std::string> entropic::prompts::IdentityFrontmatter::auto_chain

Auto-chain target tier.

Definition at line 73 of file manager.h.

◆ bash_commands

std::optional<std::vector<std::string> > entropic::prompts::IdentityFrontmatter::bash_commands

Allowed bash commands.

Definition at line 75 of file manager.h.

◆ benchmark

std::optional<BenchmarkSpec> entropic::prompts::IdentityFrontmatter::benchmark

Benchmark definition.

Definition at line 88 of file manager.h.

◆ enable_thinking

bool entropic::prompts::IdentityFrontmatter::enable_thinking = false

Default thinking mode.

Definition at line 79 of file manager.h.

◆ examples

std::vector<std::string> entropic::prompts::IdentityFrontmatter::examples

Few-shot examples.

Definition at line 71 of file manager.h.

◆ explicit_completion

bool entropic::prompts::IdentityFrontmatter::explicit_completion = false

Requires explicit completion.

Definition at line 82 of file manager.h.

◆ focus

std::vector<std::string> entropic::prompts::IdentityFrontmatter::focus

Focus areas (min 1)

Definition at line 70 of file manager.h.

◆ grammar

std::optional<std::string> entropic::prompts::IdentityFrontmatter::grammar

Grammar file reference.

Definition at line 72 of file manager.h.

◆ interstitial

bool entropic::prompts::IdentityFrontmatter::interstitial = false

Interstitial role.

Definition at line 80 of file manager.h.

◆ max_iterations

int entropic::prompts::IdentityFrontmatter::max_iterations = -1

Per-identity loop iteration cap; -1 = use global (E6)

Definition at line 85 of file manager.h.

◆ max_output_tokens

int entropic::prompts::IdentityFrontmatter::max_output_tokens = 1024

Default max output tokens.

Definition at line 76 of file manager.h.

◆ max_tool_calls_per_turn

int entropic::prompts::IdentityFrontmatter::max_tool_calls_per_turn = -1

Per-identity tool call cap; -1 = use global (E6)

Definition at line 86 of file manager.h.

◆ name

std::string entropic::prompts::IdentityFrontmatter::name

Tier name (e.g., "lead")

Definition at line 69 of file manager.h.

◆ phases

std::optional<std::unordered_map<std::string, PhaseConfig> > entropic::prompts::IdentityFrontmatter::phases

Named phases.

Definition at line 87 of file manager.h.

◆ relay_single_delegate

bool entropic::prompts::IdentityFrontmatter::relay_single_delegate = false

Skip re-synthesis when single delegate returns (v2.0.11)

Definition at line 84 of file manager.h.

◆ repeat_penalty

float entropic::prompts::IdentityFrontmatter::repeat_penalty = 1.1f

Default repetition penalty.

Definition at line 78 of file manager.h.

◆ routable

bool entropic::prompts::IdentityFrontmatter::routable = true

Visible to router.

Definition at line 81 of file manager.h.

◆ temperature

float entropic::prompts::IdentityFrontmatter::temperature = 0.7f

Default temperature.

Definition at line 77 of file manager.h.

◆ type

PromptType entropic::prompts::IdentityFrontmatter::type = PromptType::IDENTITY

Always IDENTITY.

Definition at line 66 of file manager.h.

◆ validation_rules

std::vector<std::string> entropic::prompts::IdentityFrontmatter::validation_rules

Per-identity constitutional rules (v2.0.6)

Definition at line 83 of file manager.h.

◆ version

int entropic::prompts::IdentityFrontmatter::version = 1

Schema version.

Definition at line 67 of file manager.h.


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