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

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, TierConfigtiers
 Tier name → config.
 
std::optional< ModelConfigrouter
 Router model (separate from tiers)
 
std::string default_tier = "lead"
 Default tier name.
 

Detailed Description

Configuration for all models (tiers + router).

Version
1.8.1

Definition at line 356 of file config.h.

Member Function Documentation

◆ find_tier_by_path()

std::string entropic::ModelsConfig::find_tier_by_path ( const std::filesystem::path &  model_path) const
inline

Find tier name by model path.

Iterates tiers to find one whose resolved path matches. Returns empty string if no tier uses the given path.

Parameters
model_pathModel file path to match.
Returns
Tier name, or empty string if not found. @utility
Version
2.0.1

Definition at line 372 of file config.h.

Member Data Documentation

◆ default_tier

std::string entropic::ModelsConfig::default_tier = "lead"

Default tier name.

Definition at line 359 of file config.h.

◆ router

std::optional<ModelConfig> entropic::ModelsConfig::router

Router model (separate from tiers)

Definition at line 358 of file config.h.

◆ tiers

std::unordered_map<std::string, TierConfig> entropic::ModelsConfig::tiers

Tier name → config.

Definition at line 357 of file config.h.


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