Visitor

public interface Visitor<T extends Object>

An interface that defines how to map each variant of AgentConfig to a value of type T.

Functions

Link copied to clipboard
public T unknown(JsonValue json)

Maps an unknown variant of AgentConfig to a value of type T.

Link copied to clipboard
public abstract T visitDeepResearch(DeepResearchAgentConfig deepResearch)

Configuration for the Deep Research agent.

Link copied to clipboard
public abstract T visitDynamic(DynamicAgentConfig dynamic)

Configuration for dynamic agents.