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