handle

abstract suspend fun handle(eventContext: LLMStreamingStartingContext)(source)

Handles the initialization of a streaming interaction by processing the given prompt, tools, model, and run ID.

Parameters

eventContext

The context for the before-stream event