Class AguiEvents

java.lang.Object
io.agentscope.core.agui.event.AguiEvents

public final class AguiEvents extends Object
Utilities for working with AG-UI events.
  • Method Details

    • withBaseProperties

      public static AguiEvent withBaseProperties(AguiEvent event, Long timestamp, Object rawEvent)
      Copies an event while replacing only the AG-UI base event properties.
      Parameters:
      event - The event to copy
      timestamp - The timestamp for the copied event
      rawEvent - The raw source event for the copied event
      Returns:
      A copied event with the supplied base properties