Skip to main content

hold_if_cold

Function hold_if_cold 

Source
pub(super) async fn hold_if_cold(
    state: &AppState,
    auth_via: ReactiveAuthVia,
    req: &InjectionRequest,
    replay: &mut Reservation,
) -> Option<Value>
Expand description

Hold req when its target is a running Claude session gone cold, or quota mode is tight and the target has no turn in flight, and the message may wait. None delivers it as usual, which every doubt does.