Skip to content

marginal v0.2.4

Latest

Choose a tag to compare

@exactml exactml released this 20 Sep 12:16
· 3 commits to master since this release
2d1ad43

🐛 Fixes a v0.2.3 regression that made every Anthropic-backed marginal review fail outright -- upgrade from v0.2.3 immediately if you're on it.

Fixes

  • AnthropicProvider.generate_structured's strict: true tool definition (added in v0.2.3) was rejected by the API on every single request, because Finding.confidence's bounds and _FindingsResponse.findings' length cap render as JSON Schema keywords strict tool use doesn't support. The wire schema is now adapted before sending -- unsupported keywords stripped, a nullable field rewritten to the form Anthropic's docs describe -- while pydantic still enforces the same bounds locally on the response (ISSUE-96, PR-101)

📖 Full details: CHANGELOG.md