(*blocks: dict[str, Any])
| 42 | |
| 43 | |
| 44 | def _response(*blocks: dict[str, Any]) -> httpx2.Response: |
| 45 | return httpx2.Response( |
| 46 | 200, |
| 47 | json={ |
| 48 | "id": "msg_tool_use", |
| 49 | "type": "message", |
| 50 | "role": "assistant", |
| 51 | "model": "claude-haiku-4-5", |
| 52 | "content": list(blocks), |
| 53 | "stop_reason": "tool_use", |
| 54 | "stop_sequence": None, |
| 55 | "usage": {"input_tokens": 1, "output_tokens": 1}, |
| 56 | }, |
| 57 | ) |
| 58 | |
| 59 | |
| 60 | def _end_turn() -> httpx2.Response: |
no outgoing calls
no test coverage detected