Entropic 2.3.8
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.
 
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 714 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 731 of file config.h.

◆ app_context_disabled

bool entropic::ParsedConfig::app_context_disabled = false

true if app_context explicitly disabled

Definition at line 732 of file config.h.

◆ compaction

CompactionConfig entropic::ParsedConfig::compaction

Auto-compaction settings.

Definition at line 720 of file config.h.

◆ config_dir

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

Config dir — base for bundled data discovery.

Definition at line 738 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 753 of file config.h.

◆ constitution

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

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

Definition at line 727 of file config.h.

◆ constitution_disabled

bool entropic::ParsedConfig::constitution_disabled = false

true if constitution explicitly disabled

Definition at line 728 of file config.h.

◆ constitutional_validation

ConstitutionalValidationConfig entropic::ParsedConfig::constitutional_validation

Constitutional validation pipeline settings.

Definition at line 756 of file config.h.

◆ generation

GenerationConfig entropic::ParsedConfig::generation

Default generation params.

Definition at line 717 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 746 of file config.h.

◆ inference

InferenceConfig entropic::ParsedConfig::inference

Inference-side knobs (currently speculative decoding only).

Version
2.1.11

Definition at line 760 of file config.h.

◆ inject_model_context

bool entropic::ParsedConfig::inject_model_context = true

Auto-inject model context into system prompt.

Definition at line 734 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 742 of file config.h.

◆ log_level

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

Log level string.

Definition at line 724 of file config.h.

◆ lsp

LSPConfig entropic::ParsedConfig::lsp

LSP integration.

Definition at line 721 of file config.h.

◆ mcp

MCPConfig entropic::ParsedConfig::mcp

MCP server settings.

Definition at line 719 of file config.h.

◆ models

ModelsConfig entropic::ParsedConfig::models

Tiers + router.

Definition at line 715 of file config.h.

◆ permissions

PermissionsConfig entropic::ParsedConfig::permissions

Tool permissions.

Definition at line 718 of file config.h.

◆ prompt_cache

PromptCacheConfig entropic::ParsedConfig::prompt_cache

Prompt KV cache settings.

Definition at line 722 of file config.h.

◆ routing

RoutingConfig entropic::ParsedConfig::routing

Routing rules.

Definition at line 716 of file config.h.

◆ storage

StorageConfig entropic::ParsedConfig::storage

Storage backend settings (v1.8.8)

Definition at line 723 of file config.h.

◆ vram_reserve_mb

int entropic::ParsedConfig::vram_reserve_mb = 512

Reserved VRAM headroom (MB, 0–65536)

Definition at line 735 of file config.h.


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