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