Method HandoffAsync
- Namespace
- Oscova.Agents.Tasks
- Assembly
- Oscova.Agents.dll
HandoffAsync(string, string, JsonElement, string, string?, CancellationToken)
Hands off the current agent session to this channel, creating a new conversation thread seeded with the serialized session. A null or blank title keeps the channel's default thread title.
Task HandoffAsync(string userId, string agentId, JsonElement sessionElement, string message, string? title, CancellationToken ct = default)Parameters
userIdstringagentIdstringsessionElementJsonElementmessagestringtitlestring?ctCancellationToken