(input: dict[str, Any])
| 333 | @pytest.mark.asyncio() |
| 334 | async def test_yields_completed_tool_call() -> None: |
| 335 | async def echo(input: dict[str, Any]) -> str: |
| 336 | return f"got {input.get('x')}" |
| 337 | |
| 338 | tool = _FakeTool("echo", echo) |
| 339 | events = FakeAsyncEvents(stream_events=[_tool_use("tu_1", "echo", {"x": 42}), _terminated()]) |