(kind: Option<StreamToolErrorKind>, error: &str)
| 292 | } |
| 293 | |
| 294 | fn should_block_for_tool_error(kind: Option<StreamToolErrorKind>, error: &str) -> bool { |
| 295 | matches!( |
| 296 | classify_tool_error(kind, error), |
| 297 | ToolExecutionErrorKind::PermissionDenied | ToolExecutionErrorKind::QuestionRejected |
| 298 | ) |
| 299 | } |
| 300 | |
| 301 | /// Run the full stream processing loop with retry support. |
| 302 | /// Returns `ProcessResult` matching the TS "compact" | "stop" | "continue". |
nothing calls this directly
no outgoing calls
no test coverage detected