New

Add callback state modification (#192)

João Westerberg
2 months ago

Commit: 64491bf

Date: October 31, 2025 at 5:18 PM

  • Add state delta modification by agent callbacks and model callbacks.
  • Change tool context to pass state delta
  • Remove endInvocation bool type
  • Change AfterAgentCallback to create new event.
  • Add nil stateDelta validation to CallbackContext state
  • Fix state delta test comparisons
  • Replace base_flow tmpEvent with stateDelta reference