Make Codex and Claude Code subscriptions go further: a local model router that gives routine agent work to economical models and keeps your strongest model for the hard parts.
Rust ai-agentsai-gatewayclaude-codecodexcoding-agentcost-optimizationdeepseekllm-gatewayllm-routerlocal-firstmodel-routingrusttask-routingtauri
//! Only native collaboration checks carry action-specific failure details.
use super::ControlReadError;
use hiroute_application_api::AgentCollaborationCheckFailureReasonV1;
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum CollaborationCheckError {
Control(ControlReadError),
Failed(AgentCollaborationCheckFailureReasonV1),
}
impl From<ControlReadError> for CollaborationCheckError {
fn from(error: ControlReadError) -> Self {
Self::Control(error)
}
}