diff --git a/rig-core/src/providers/cohere/streaming.rs b/rig-core/src/providers/cohere/streaming.rs index c1e6938..6b9db9f 100644 --- a/rig-core/src/providers/cohere/streaming.rs +++ b/rig-core/src/providers/cohere/streaming.rs @@ -164,7 +164,7 @@ impl StreamingCompletionModel for CompletionModel { )); }; }, - StreamingEvent::ToolCallEnd { .. } => { + StreamingEvent::ToolCallEnd => { let Some(tc) = current_tool_call.clone() else { continue; }; let Ok(args) = serde_json::from_str(&tc.2) else { continue; };