Interface BetaManagedAgentsDeploymentInitialEvent.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsDeploymentInitialEvent.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsDeploymentInitialEvent to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitUserMessage(BetaManagedAgentsDeploymentUserMessageEvent userMessage)A user message sent to the session. abstract TvisitUserDefineOutcome(BetaManagedAgentsDeploymentUserDefineOutcomeEvent userDefineOutcome)An outcome the agent should work toward. abstract TvisitSystemMessage(BetaManagedAgentsDeploymentSystemMessageEvent systemMessage)Privileged context for the accompanying turn and all subsequent turns, appended to the session's system context as a role: "system"turn rather than replacing the top-level system prompt.Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsDeploymentInitialEvent to a value of type T. -
-
Method Detail
-
visitUserMessage
abstract T visitUserMessage(BetaManagedAgentsDeploymentUserMessageEvent userMessage)
A user message sent to the session.
-
visitUserDefineOutcome
abstract T visitUserDefineOutcome(BetaManagedAgentsDeploymentUserDefineOutcomeEvent userDefineOutcome)
An outcome the agent should work toward. The agent begins work on receipt.
-
visitSystemMessage
abstract T visitSystemMessage(BetaManagedAgentsDeploymentSystemMessageEvent systemMessage)
Privileged context for the accompanying turn and all subsequent turns, appended to the session's system context as a
role: "system"turn rather than replacing the top-level system prompt.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsDeploymentInitialEvent to a value of type T.
An instance of BetaManagedAgentsDeploymentInitialEvent 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.
-
-
-
-