HandoffInputData
このコンテンツはまだ日本語訳がありません。
type HandoffInputData = object;
Data passed to the handoff function.
Properties
Section titled “Properties”inputHistory
Section titled “inputHistory”inputHistory: | string | AgentInputItem[];
The input history before Runner.run()
was called.
newItems
Section titled “newItems”newItems: RunItem[];
The new items generated during the current agent turn, including the item that triggered the handoff and the tool output message representing the response from the handoff output.
preHandoffItems
Section titled “preHandoffItems”preHandoffItems: RunItem[];
The items generated before the agent turn where the handoff was invoked.
runContext?
Section titled “runContext?”optional runContext: RunContext<any>;
The context of the handoff. Note that, since this property was added later on, it’s optional to pass from users.