Complete Rig tool lifecycle migration
This commit is contained in:
@@ -486,7 +486,7 @@ async fn extract_suggestion_from_stream(
|
||||
let mut client_actions: Vec<api::ClientAction> = Vec::new();
|
||||
let mut server_request_token: Option<String> = None;
|
||||
while let Some(event) = stream.next().await {
|
||||
let Ok(response_event) = event else {
|
||||
let Ok(crate::ai::agent::api::StreamEvent::Response(response_event)) = event else {
|
||||
continue;
|
||||
};
|
||||
match response_event.r#type {
|
||||
|
||||
Reference in New Issue
Block a user