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
use std::collections::VecDeque;
use std::marker::PhantomData;
use std::mem::size_of;
use std::rc::Rc;
use bytes::Bytes;
use thiserror::Error;
use crate::core::execution_plan::CompiledAcceptedResponsePlan;
use crate::runtime::body::{
ChargedBytes, ChargedBytesBuilder, MemoryRole, Reservation, StreamBudget,
};
mod event;
mod framer;
mod precommit;
mod semantic;
pub use event::*;
pub use framer::*;
pub use precommit::*;
pub use semantic::*;