Class RunHandoffOutputItem

java.lang.Object
ai.acolite.agentsdk.core.RunItemBase
ai.acolite.agentsdk.core.RunHandoffOutputItem
All Implemented Interfaces:
RunItem, AgentInputItem

public class RunHandoffOutputItem extends RunItemBase
RunHandoffOutputItem

Represents the result of an agent handoff. Created after a successful handoff execution, contains both source and target agents.

Ported from TypeScript OpenAI Agents SDK Source: items.ts

  • Constructor Details

    • RunHandoffOutputItem

      public RunHandoffOutputItem()
  • Method Details

    • getFromAgent

      public String getFromAgent()
      Get source agent name
    • getToAgent

      public String getToAgent()
      Get target agent name