getTransferMessage
このコンテンツはまだ日本語訳がありません。
function getTransferMessage<TContext, TOutput>(agent): string
Generates the message that will be given as tool output to the model that requested the handoff.
Type Parameters
Section titled “Type Parameters”Type Parameter |
---|
|
|
Parameters
Section titled “Parameters”Parameter | Type | Description |
---|---|---|
|
|
The agent to transfer to |
Returns
Section titled “Returns”string
The message that will be given as tool output to the model that requested the handoff