MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / compaction_response

Function compaction_response

tests/lib/threads/helpers.py:410–412  ·  view source on GitHub ↗
(id: str)

Source from the content-addressed store, hash-verified

408
409
410def compaction_response(id: str) -> httpx2.Response:
411 body = message_response(id, stop_reason="compaction").json()
412 return httpx2.Response(200, json={**body, "content": COMPACTED.get("content")})
413
414
415def stream_response(

Calls 3

message_responseFunction · 0.85
jsonMethod · 0.45
getMethod · 0.45