Table of Contents

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

userId string
agentId string
sessionElement JsonElement
message string
title string?
ct CancellationToken

Returns

Task