| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| README.md | 2026-02-27 | 626 Bytes | |
| v0.3.3 source code.tar.gz | 2026-02-27 | 786.4 kB | |
| v0.3.3 source code.zip | 2026-02-27 | 839.6 kB | |
| Totals: 3 Items | 1.6 MB | 2 | |
Fixes
🔧 Prompt caching restored — Fixed Zod schemas silently stripping cache_control fields from Anthropic requests (#74)
Without .passthrough() on nested schemas, fields like cache_control: { type: "ephemeral" } were removed before forwarding to the API. This caused all requests to be billed as uncached, significantly increasing token costs.
Also in this release
- Added
.passthrough()to OpenAI schemas for consistency (preservesname,tool_calls,audiofields) - Added regression tests for both providers
Full Changelog: https://github.com/sgasser/pasteguard/compare/v0.3.2...v0.3.3