(item: &Value)
| 971 | } |
| 972 | |
| 973 | fn cursor_dispatch_model(item: &Value) -> Option<String> { |
| 974 | item.get("input") |
| 975 | .and_then(cursor_model_string) |
| 976 | .or_else(|| cursor_model_string(item)) |
| 977 | } |
| 978 | |
| 979 | fn is_subagent_dispatch_tool(name: &str) -> bool { |
| 980 | matches!(name.to_ascii_lowercase().as_str(), "task" | "subagent") |
no test coverage detected