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

Configuration for model routing. More...

#include <entropic/types/config.h>

Public Attributes

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.
 

Detailed Description

Configuration for model routing.

v2.8.0 (gh#87): model-based tier routing is LIVE — ModelOrchestrator:: classify_task feeds the router its classification_prompt and routes on the emitted digit via tier_map. (A prior banner here claimed this struct was deprecated since v2.1.0 and would be removed in v2.2.0 — that was never true; the struct was never removed and v2.8.x actively builds on it.)

Version
2.8.1

Definition at line 607 of file config.h.

Member Data Documentation

◆ classification_prompt

std::optional<std::string> entropic::RoutingConfig::classification_prompt

Custom prompt (nullopt = auto)

Definition at line 610 of file config.h.

◆ enabled

bool entropic::RoutingConfig::enabled = false

Enable routing.

Definition at line 608 of file config.h.

◆ fallback_tier

std::string entropic::RoutingConfig::fallback_tier = "lead"

Fallback when routing fails.

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

◆ tier_map

std::unordered_map<std::string, std::string> entropic::RoutingConfig::tier_map

Classification → tier mapping.

Definition at line 611 of file config.h.


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