()
| 42 | |
| 43 | |
| 44 | def _tool_runner_responses() -> List[httpx.Response]: |
| 45 | return [ |
| 46 | _vertex_message( |
| 47 | [{"type": "tool_use", "id": "toolu_01", "name": "get_weather", "input": {"city": "Paris"}}], |
| 48 | "tool_use", |
| 49 | ), |
| 50 | _vertex_message([{"type": "text", "text": "It is sunny in Paris."}], "end_turn"), |
| 51 | ] |
| 52 | |
| 53 | |
| 54 | def _assert_tool_runner_calls(calls: List[MockRequestCall]) -> None: |
no test coverage detected