Class BetaResponsesClientEvent.ResponseCreate.MultiAgent
-
- All Implemented Interfaces:
public final class BetaResponsesClientEvent.ResponseCreate.MultiAgentConfiguration for server-hosted multi-agent execution.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponsesClientEvent.ResponseCreate.MultiAgent.BuilderA builder for MultiAgent.
-
Method Summary
Modifier and Type Method Description final Booleanenabled()Whether to enable server-hosted multi-agent execution for this response. final Optional<Long>maxConcurrentSubagents()max_concurrent_subagentssets the maximum number of subagents that can be active simultaneously across the entire agent tree.final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<Long>_maxConcurrentSubagents()Returns the raw JSON value of maxConcurrentSubagents. final Map<String, JsonValue>_additionalProperties()final BetaResponsesClientEvent.ResponseCreate.MultiAgent.BuildertoBuilder()final BetaResponsesClientEvent.ResponseCreate.MultiAgentvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builderbuilder()Returns a mutable builder for constructing an instance of MultiAgent. -
-
Method Detail
-
enabled
final Boolean enabled()
Whether to enable server-hosted multi-agent execution for this response.
-
maxConcurrentSubagents
final Optional<Long> maxConcurrentSubagents()
max_concurrent_subagentssets the maximum number of subagents that can be active simultaneously across the entire agent tree. It includes all descendants—children, grandchildren, and deeper subagents—but excludes the root agent. The API does not impose a fixed upper bound on this setting. The default is3, which is recommended for most workloads. Multi-agent runs also have no fixed limit on tree depth or the total number of subagents created during a run.
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_maxConcurrentSubagents
final JsonField<Long> _maxConcurrentSubagents()
Returns the raw JSON value of maxConcurrentSubagents.
Unlike maxConcurrentSubagents, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder toBuilder()
-
validate
final BetaResponsesClientEvent.ResponseCreate.MultiAgent validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder builder()
Returns a mutable builder for constructing an instance of MultiAgent.
The following fields are required:
.enabled()
-
-
-
-