Expand description
Account management and request routing.
pool owns provider-bucketed account acquisition; affinity keeps
session ids pinned to accounts across related requests; routing
resolves a requested model into a route mode + upstream selector for the
pool to consume.
Re-exports§
pub use inventory::AccountInventory;pub use inventory::AccountPoolRuleset;pub use routing::ResolveError;pub use routing::RouteResolution;pub use routing::RouteResolver;pub use routing::RouteSelector;
Modules§
- affinity
- Session → account affinity map used by
super::AccountPoolto keep multi-turn conversations (tool-call follow-ups, OpenAI Responsesprevious_response_id, Anthropic extended-thinking continuations) on the same upstream credential. - inventory
- registry
- routing
Structs§
Enums§
- Endpoint
Acquire - Error
- Errors that can occur while constructing or querying an
AccountPool. - Session
Acquire