Interface BetaManagedAgentsSessionMultiagentCoordinator.Agent.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsSessionMultiagentCoordinator.Agent.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAgent(BetaManagedAgentsSessionThreadAgent agent)Resolved agentdefinition for a singlesession_thread.abstract TvisitAdvisor(BetaManagedAgentsAdvisor advisor)Platform advisor roster entry: a model the session's primary thread may consult mid-turn. Tunknown(JsonValue json)Maps an unknown variant of Agent to a value of type T. -
-
Method Detail
-
visitAgent
abstract T visitAgent(BetaManagedAgentsSessionThreadAgent agent)
Resolved
agentdefinition for a singlesession_thread. Snapshot of the agent at thread creation time. The multiagent roster is not repeated here; read it fromSession.agent.
-
visitAdvisor
abstract T visitAdvisor(BetaManagedAgentsAdvisor advisor)
Platform advisor roster entry: a model the session's primary thread may consult mid-turn.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Agent to a value of type T.
An instance of Agent can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-