()
| 47 | block = ToolUseBlock(id=tid, name=name, input=input_) |
| 48 | |
| 49 | async def drive(): |
| 50 | updates = [] |
| 51 | async for u in run_tool_use( |
| 52 | block, AssistantMessage(content="t"), _allow, ctx |
| 53 | ): |
| 54 | updates.append(u) |
| 55 | return updates |
| 56 | |
| 57 | return asyncio.run(drive()) |
| 58 |
no test coverage detected