Package io.agentscope.core.agui.event
Class AguiEvents
java.lang.Object
io.agentscope.core.agui.event.AguiEvents
Utilities for working with AG-UI events.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AguiEventwithBaseProperties(AguiEvent event, Long timestamp, Object rawEvent) Copies an event while replacing only the AG-UI base event properties.
-
Method Details
-
withBaseProperties
Copies an event while replacing only the AG-UI base event properties.- Parameters:
event- The event to copytimestamp- The timestamp for the copied eventrawEvent- The raw source event for the copied event- Returns:
- A copied event with the supplied base properties
-