diff --git a/mofa-kernel/src/types.rs b/mofa-kernel/src/types.rs index 51a4c0a..fa44521 100644 --- a/mofa-kernel/src/types.rs +++ b/mofa-kernel/src/types.rs @@ -633,6 +633,11 @@ pub struct InferenceResponse { /// Whether the response came from a fallback candidate. #[serde(default)] pub fallback_used: bool, + /// Deep-reasoning trace surfaced by reasoning-capable models on the + /// blocking path (`None` otherwise). Mirrors what the streaming path + /// delivers as `StreamChunk::Reasoning` increments. + #[serde(default, skip_serializing_if = "Option::is_none")] + pub reasoning: Option, /// Machine-readable routing reason. pub routing_reason: Option, }