SSEController

Spring Controller for Server-Sent Events (SSE) streaming of AgentProcessEvents. This controller by being registered as a bean via the RestController annotation will automatically listen for AgentProcessEvents because it implements AgenticEventListener. Each new listener will receive all events for that process to date.

Constructors

Link copied to clipboard
constructor(sseProperties: SseProperties)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

An event relating to the platform or leading to the creation of an AgentProcess, such as the choice of a goal. No process is available at this point.

Link copied to clipboard
open override fun onProcessEvent(event: AgentProcessEvent)

Listen to an event during the execution of an AgentProcess

Link copied to clipboard
fun streamEventsForId(processId: String): <Error class: unknown class>