Repository navigation
v0.6.0
What's New
PausesLoop contract for tools requiring human interaction
Tools that return a PausesLoop result (e.g. SDK app iframes) now cause the loop to stop executing further tools and terminate gracefully. This prevents multiple interactive tools from launching simultaneously when the LLM requests them in a single iteration.
Changes
- Add
PausesLoopmarker interface inContracts - Detect
PausesLoopresults inExecutesLoopToolsalongsideAskHumanSignal - Handle pause termination in
ReActLoopandChainOfThoughtLoop(sync + stream) - Add
pauseSignalandpaused()toLoopResult
Full Changelog: v0.5.1...v0.6.0