|
Entropic 2.14.3
Local-first agentic inference engine
|
Configuration for all models (tiers + router). More...
#include <entropic/types/config.h>
Public Member Functions | |
| std::string | find_tier_by_path (const std::filesystem::path &model_path) const |
| Find tier name by model path. | |
Public Attributes | |
| std::unordered_map< std::string, TierConfig > | tiers |
| Tier name → config. | |
| std::optional< ModelConfig > | router |
| Router model (separate from tiers) | |
| std::string | default_tier = "lead" |
| Default tier name. | |
| bool | defer_load = false |
| Defer the default tier's model load to first use (gh#157). | |
Configuration for all models (tiers + router).
|
inline |
| std::string entropic::ModelsConfig::default_tier = "lead" |
Defer the default tier's model load to first use (gh#157).
false (default) keeps the pre-2.13.0 behaviour exactly: the default tier is loaded and activated during entropic_configure*. true leaves it COLD until the first thing that needs it asks — a generation, or any of the evaluation / state APIs — at which point it loads through the same residency gate and fires the same ENTROPIC_RESIDENCY_LOADED event as a mid-session tier swap.
This is a NEW key rather than a meaning for keep_warm (which governs swap-out, not startup, and defaults to false): reusing it would have made every existing consumer lazy without their asking — a behaviour change disguised as a doc fix.
| std::optional<ModelConfig> entropic::ModelsConfig::router |
| std::unordered_map<std::string, TierConfig> entropic::ModelsConfig::tiers |