Class StreamingStartedEventArgs
Event args for streaming started event.
public sealed class StreamingStartedEventArgs : EventArgs
- Inheritance
-
StreamingStartedEventArgs
- Inherited Members
Examples
Logging which agent and input started a streaming session:
using LMKit.Agents.Streaming;
streamingAgent.StreamingStarted += (s, e) =>
Console.WriteLine($"Streaming started: agent='{e.Agent.Identity?.Persona}', input length={e.Input.Length}");
Properties
- Agent
Gets the agent being executed.
- Input
Gets the input.