Fabricate Anthropic Ruby SDK response objects — messages, content blocks, tool_use blocks, and streams — for tests that stub the client directly and return canned responses, without hitting the network or wrestling the real SDK's typed models. Also serializes those objects to/from plain hashes, which is how the deja gem records and replays them. Part of the llm_mock family.
Required Ruby Version
>= 3.2
Authors
Nate Brustein
Versions
- 0.1.0 June 19, 2026 (8.5 KB)