()
| 75 | return {"behavior": "allow"} |
| 76 | |
| 77 | async def drive(): |
| 78 | updates = [] |
| 79 | async for update in run_tool_use( |
| 80 | tool_use, |
| 81 | AssistantMessage(content="using a tool"), |
| 82 | can_use_tool, |
| 83 | ctx, |
| 84 | ): |
| 85 | updates.append(update) |
| 86 | return updates |
| 87 | |
| 88 | return _run(drive()) |
| 89 |
nothing calls this directly
no test coverage detected