Configuration for model routing.
More...
#include <entropic/types/config.h>
|
| bool | enabled = false |
| | Enable routing.
|
| |
| std::string | fallback_tier = "lead" |
| | Fallback when routing fails.
|
| |
| std::optional< std::string > | classification_prompt |
| | Custom prompt (nullopt = auto)
|
| |
| std::unordered_map< std::string, std::string > | tier_map |
| | Classification → tier mapping.
|
| |
| std::unordered_map< std::string, std::vector< std::string > > | handoff_rules |
| | Tier handoff rules.
|
| |
Configuration for model routing.
- Deprecated:
- Since v2.1.0 — router model removed; use a dedicated identity as the lead/router instead. This struct is retained for ABI compatibility only and will be removed in v2.2.0.
- Version
- 2.1.0
Definition at line 388 of file config.h.
◆ classification_prompt
| std::optional<std::string> entropic::RoutingConfig::classification_prompt |
Custom prompt (nullopt = auto)
Definition at line 391 of file config.h.
◆ enabled
| bool entropic::RoutingConfig::enabled = false |
Enable routing.
Definition at line 389 of file config.h.
◆ fallback_tier
| std::string entropic::RoutingConfig::fallback_tier = "lead" |
Fallback when routing fails.
Definition at line 390 of file config.h.
◆ handoff_rules
| std::unordered_map<std::string, std::vector<std::string> > entropic::RoutingConfig::handoff_rules |
Tier handoff rules.
Definition at line 393 of file config.h.
◆ tier_map
| std::unordered_map<std::string, std::string> entropic::RoutingConfig::tier_map |
Classification → tier mapping.
Definition at line 392 of file config.h.
The documentation for this struct was generated from the following file: