Method OnStartAsync
OnStartAsync(Agent, string, CancellationToken)
Called when streaming starts.
Task OnStartAsync(Agent agent, string input, CancellationToken cancellationToken = default)
Parameters
agentAgentThe agent being executed.
inputstringThe input to the agent.
cancellationTokenCancellationTokenCancellation token.
Returns
- Task
A task representing the async operation.