pub fn process_response(
agents: Query<'_, '_, (Entity, &InferenceResult, &mut StageProgress, Option<&mut TokenTotals>), With<ProcessResponse>>,
commands: Commands<'_, '_>,
)Expand description
Process-response system: route each ProcessResponse agent by whether its
last inference asked for tools. Tool calls present ⇒ ReadyForTools (and the
stage’s running tool-call count is bumped); none ⇒ ReadyForTransition. Pure
routing - no I/O.