Skip to content

v0.6.1

Choose a tag to compare

@dalehurley dalehurley released this 16 Mar 06:59
· 5 commits to main since this release

Added

  • onPause() callback — fires when a tool returns a PausesLoop result, receiving the pause signal, deferred tool names, iteration, and response
  • LoopResult::$deferredTools — array of tool names the LLM requested but were not executed due to the pause
  • Pause observation — when the loop pauses, an observation is built and stored in the conversation history, explicitly listing which tools were executed and which were deferred. This ensures the LLM picks up remaining tools when the conversation resumes.

Changed

  • The onPause callback replaces onLoopComplete when the loop pauses (previously loopComplete fired on pause, now pause fires instead)
  • CoTResult now includes pauseSignal and deferredTools properties (consistent with LoopResult)

Fixed

  • When the loop paused after executing an interactive tool (e.g. SDK app), the LLM had no context about deferred tools when the conversation resumed. Now the observation explicitly tells the LLM which tools still need to be called.