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