Configuration for all models (tiers + router).
More...
#include <entropic/types/config.h>
|
| std::string | find_tier_by_path (const std::filesystem::path &model_path) const |
| | Find tier name by model path.
|
| |
Configuration for all models (tiers + router).
- Version
- 1.8.1
Definition at line 356 of file config.h.
◆ 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_path | Model 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.
◆ 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: