Package com.anthropic.models.beta.agents
Interface BetaManagedAgentsMultiagentCoordinator.Agent.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsMultiagentCoordinator.Agent.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAgent(BetaManagedAgentsAgentReference agent)A resolved agent reference with a concrete version. 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(BetaManagedAgentsAgentReference agent)
A resolved agent reference with a concrete version.
-
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.
-
-
-
-