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

Full parsed configuration. More...

#include <entropic/types/config.h>

Collaboration diagram for entropic::ParsedConfig:

Public Attributes

ModelsConfig models
 Tiers + router.
 
RoutingConfig routing
 Routing rules.
 
GenerationConfig generation
 Default generation params.
 
PermissionsConfig permissions
 Tool permissions.
 
MCPConfig mcp
 MCP server settings.
 
CompactionConfig compaction
 Auto-compaction settings.
 
LSPConfig lsp
 LSP integration.
 
PromptCacheConfig prompt_cache
 Prompt KV cache settings.
 
StorageConfig storage
 Storage backend settings (v1.8.8)
 
std::string log_level = "INFO"
 Log level string.
 
std::optional< std::filesystem::path > constitution
 Constitution: nullopt = bundled default, disabled = explicit false.
 
bool constitution_disabled = false
 true if constitution explicitly disabled
 
std::optional< std::filesystem::path > app_context
 App context: nullopt = disabled by default.
 
bool app_context_disabled = false
 true if app_context explicitly disabled
 
bool inject_model_context = true
 Auto-inject model context into system prompt.
 
int vram_reserve_mb = 512
 Reserved VRAM headroom (MB, 0–65536)
 
std::filesystem::path config_dir
 Config dir — base for bundled data discovery.
 
std::filesystem::path log_dir
 Session log directory (session.log + session_model.log).
 
bool ggml_logging = false
 Enable ggml/llama.cpp logging to llama_ggml.log in log_dir.
 
std::filesystem::path llama_log_path
 Override path for ggml/llama log when ggml_logging == true (gh#23 MVP item 12, v2.3.24).
 
bool console_logging = true
 Emit engine spdlog output to the stderr console sink.
 
ConstitutionalValidationConfig constitutional_validation
 Constitutional validation pipeline settings.
 
InferenceConfig inference
 Inference-side knobs (currently speculative decoding only).
 

Detailed Description

Full parsed configuration.

Aggregates all config sections. C++ equivalent of Python's LibraryConfig (engine-only fields, no TUI).

Version
1.8.1

Definition at line 929 of file config.h.

Member Data Documentation

◆ app_context

std::optional<std::filesystem::path> entropic::ParsedConfig::app_context

App context: nullopt = disabled by default.

Definition at line 946 of file config.h.

◆ app_context_disabled

bool entropic::ParsedConfig::app_context_disabled = false

true if app_context explicitly disabled

Definition at line 947 of file config.h.

◆ compaction

CompactionConfig entropic::ParsedConfig::compaction

Auto-compaction settings.

Definition at line 935 of file config.h.

◆ config_dir

std::filesystem::path entropic::ParsedConfig::config_dir

Config dir — base for bundled data discovery.

Definition at line 953 of file config.h.

◆ console_logging

bool entropic::ParsedConfig::console_logging = true

Emit engine spdlog output to the stderr console sink.

Default true (operators reading stderr see everything). TUI consumers that paint to fd 2 must set this false so engine log lines don't corrupt the screen — with it off, logs route to the per-handle session.log file sink only. (gh#59 follow-up, v2.3.7)

Definition at line 978 of file config.h.

◆ constitution

std::optional<std::filesystem::path> entropic::ParsedConfig::constitution

Constitution: nullopt = bundled default, disabled = explicit false.

Definition at line 942 of file config.h.

◆ constitution_disabled

bool entropic::ParsedConfig::constitution_disabled = false

true if constitution explicitly disabled

Definition at line 943 of file config.h.

◆ constitutional_validation

ConstitutionalValidationConfig entropic::ParsedConfig::constitutional_validation

Constitutional validation pipeline settings.

Definition at line 981 of file config.h.

◆ generation

GenerationConfig entropic::ParsedConfig::generation

Default generation params.

Definition at line 932 of file config.h.

◆ ggml_logging

bool entropic::ParsedConfig::ggml_logging = false

Enable ggml/llama.cpp logging to llama_ggml.log in log_dir.

Default false — when off, ggml/llama output is silenced entirely.

Definition at line 961 of file config.h.

◆ inference

InferenceConfig entropic::ParsedConfig::inference

Inference-side knobs (currently speculative decoding only).

Version
2.1.11

Definition at line 985 of file config.h.

◆ inject_model_context

bool entropic::ParsedConfig::inject_model_context = true

Auto-inject model context into system prompt.

Definition at line 949 of file config.h.

◆ llama_log_path

std::filesystem::path entropic::ParsedConfig::llama_log_path

Override path for ggml/llama log when ggml_logging == true (gh#23 MVP item 12, v2.3.24).

When non-empty, the orchestrator installs llama_log_set against this exact path. When empty (default), keeps the pre-v2.3.24 hardcoded <log_dir>/llama_ggml.log — bit-identical for callers not opting in. Accepts absolute or relative paths; relative paths resolve from the process CWD (not log_dir).

Version
2.3.24

Definition at line 971 of file config.h.

◆ log_dir

std::filesystem::path entropic::ParsedConfig::log_dir

Session log directory (session.log + session_model.log).

When non-empty, the facade creates a SessionLogger on configure.

Definition at line 957 of file config.h.

◆ log_level

std::string entropic::ParsedConfig::log_level = "INFO"

Log level string.

Definition at line 939 of file config.h.

◆ lsp

LSPConfig entropic::ParsedConfig::lsp

LSP integration.

Definition at line 936 of file config.h.

◆ mcp

MCPConfig entropic::ParsedConfig::mcp

MCP server settings.

Definition at line 934 of file config.h.

◆ models

ModelsConfig entropic::ParsedConfig::models

Tiers + router.

Definition at line 930 of file config.h.

◆ permissions

PermissionsConfig entropic::ParsedConfig::permissions

Tool permissions.

Definition at line 933 of file config.h.

◆ prompt_cache

PromptCacheConfig entropic::ParsedConfig::prompt_cache

Prompt KV cache settings.

Definition at line 937 of file config.h.

◆ routing

RoutingConfig entropic::ParsedConfig::routing

Routing rules.

Definition at line 931 of file config.h.

◆ storage

StorageConfig entropic::ParsedConfig::storage

Storage backend settings (v1.8.8)

Definition at line 938 of file config.h.

◆ vram_reserve_mb

int entropic::ParsedConfig::vram_reserve_mb = 512

Reserved VRAM headroom (MB, 0–65536)

Definition at line 950 of file config.h.


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