Skip to content

0.5.1

Latest

Choose a tag to compare

@sshah03 sshah03 released this 03 Nov 08:44
  • Exports no longer contain a __pycache__ folder. The check that compares an export with load() used to leave Python's bytecode cache next to the runtime.
  • Price quotes count prompt caching. label(dry_run=True) and check_teachers(dry_run=True), for classifiers and panels, now price a long system prompt on Anthropic models as a cached read after the first call, which is what those calls are billed. An optimized prompt was quoted several times over before. estimate_calls() takes cached_prompt=True for the same. Spending caps (budget_usd=, autotune()) keep the full price, since the first calls of a run can miss the cache.

Backward compatible: nothing existing changed apart from the dry-run quotes, which are now closer to what's billed.