Skip to content

v0.9.2

Choose a tag to compare

@flyersworder flyersworder released this 15 Apr 16:18
· 49 commits to main since this release

Fixed

  • Lazy session timer: ContractSession no longer starts its wall-clock timer at construction. The timer now starts on the first check_limits() call, so idle time before the user's first interaction does not count against temporal.max_duration_seconds. This fixes premature "session expired" errors in long-lived agent setups (Chainlit, Webex bots). (#16)

Added

  • ContractSession.reset_timer(): New method that resets the duration timer so it restarts on the next check_limits() call. Useful for frameworks with their own idle-timeout mechanisms that want to restart the clock on user activity.

Full Changelog: v0.9.1...v0.9.2