Skip to content

v0.3.0

Latest

Choose a tag to compare

@susheem-k susheem-k released this 24 Jul 14:23
81f768e

What's Changed

Added

  • session.on_enter / session.on_leave: pre-call and paired cleanup hooks on @boundary / wrap_llm (LIVE + live cut-point). on_enter runs after input capture and before the wrapped function; it may raise to abort the call, or return a kwargs mapping to merge (MUTATE). on_leave runs after the attempt when on_enter completed, including when the function raises. Governors (e.g. TokenOps) use this for LLM-kind pre_call without a separate wrap.

Full Changelog: v0.2.0...v0.3.0