22#include <unordered_map>
66 std::unordered_map<std::string, PhaseConfig>
phases;
Configuration structs with defaults.
Activate model on GPU (WARM → ACTIVE).
IdentityOrigin
Origin of an identity – how it was created.
@ DYNAMIC
Created at runtime via API.
@ STATIC
Loaded from YAML frontmatter file at startup.
Full identity configuration.
bool explicit_completion
Requires explicit entropic.complete to finish.
std::vector< std::string > bash_commands
Allowed bash commands.
bool enable_thinking
Default enable_thinking.
float temperature
Default temperature.
bool interstitial
Interstitial (non-routable, triggered by tools)
std::string auto_chain
Auto-chain target tier name (empty = none)
bool routable
Participates in tier routing.
std::string name
Unique identity name (e.g., "eng", "npc_blacksmith")
std::vector< std::string > focus
Classification focus keywords (min 1)
int max_iterations_override
Per-identity max_iterations (-1 = global, P3-18)
IdentityOrigin origin
How this identity was created.
std::string adapter_path
LoRA adapter path (v1.9.2, empty = base model)
std::vector< std::string > examples
Few-shot classification examples.
std::string system_prompt
Full system prompt text (markdown body)
std::vector< MCPKey > mcp_keys
MCP authorization keys (v1.9.4)
std::vector< std::string > allowed_tools
Tool filter list (empty = all tools via identity)
int max_tool_calls_per_turn_override
Per-identity tool cap (-1 = global, P3-18)
int max_output_tokens
Default max output tokens.
std::unordered_map< std::string, PhaseConfig > phases
Named inference phases.
float repeat_penalty
Default repeat penalty.
std::string grammar_id
Grammar registry key (empty = no grammar)