ai-lib-core 0.9.6

AI-Protocol execution runtime core (protocol, client, pipeline, transport)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/// A lightweight, provider-agnostic snapshot of runtime "signals" for orchestration.
///
/// This is intentionally *facts only* (no policy). Applications can build scoring/selection
/// strategies on top of these signals.
#[derive(Debug, Clone, Default)]
pub struct SignalsSnapshot {
    pub inflight: Option<InflightSnapshot>,
}

#[derive(Debug, Clone)]
pub struct InflightSnapshot {
    pub max: usize,
    pub available: usize,
    pub in_use: usize,
}