()
| 2468 | |
| 2469 | |
| 2470 | def _compacted_response() -> httpx2.Response: |
| 2471 | return httpx2.Response( |
| 2472 | 200, |
| 2473 | json={ |
| 2474 | "id": "msg_compacted", |
| 2475 | "type": "message", |
| 2476 | "role": "assistant", |
| 2477 | "model": "claude-haiku-4-5", |
| 2478 | "content": [{"type": "compaction", "content": "Summary so far.", "signature": "sig_01"}], |
| 2479 | "stop_reason": "compaction", |
| 2480 | "stop_sequence": None, |
| 2481 | "usage": {"input_tokens": 1, "output_tokens": 1}, |
| 2482 | }, |
| 2483 | ) |
| 2484 | |
| 2485 | |
| 2486 | def _compaction_block_alone() -> List[Any]: |
no outgoing calls
no test coverage detected