Skip to content

v0.4.2 — Production Hardening

Choose a tag to compare

@itsarbit itsarbit released this 22 Feb 06:32
· 31 commits to master since this release

Fixed

  • Remove "creative" capability — removed unused "creative" capability from decomposition prompt, curated model mapping, and test fixtures; the router had no creative patterns so it was silently restricting fallback to Anthropic-only models
  • Budget consistency in async executoraexecute() now passes step.estimated_cost (not estimated_cost * 2) as the budget for each step, matching the reservation amount
  • Multi-capability downgrade_optimize_for_budget now checks all required capabilities when downgrading models, not just the first; prevents a step needing ["code", "reasoning"] from being downgraded to a code-only model
  • max_tokens budget guardrail_execute_step and _aexecute_step now compute and pass max_tokens based on remaining budget, preventing a single completion from overshooting; steps with budget below 100 output tokens are skipped gracefully

Changed

  • README restructured — moved blog post link to after Quick Start; softened absolute claims about cost ledger coverage
  • Registryfind_models() and cheapest() accept a capabilities list parameter for multi-capability filtering

Full changelog: https://github.com/itsarbit/tokenwise/blob/master/CHANGELOG.md