Class BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder
-
- All Implemented Interfaces:
public final class BetaResponsesClientEvent.ResponseCreate.MultiAgent.BuilderA builder for MultiAgent.
-
-
Method Summary
-
-
Method Detail
-
enabled
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder enabled(Boolean enabled)
Whether to enable server-hosted multi-agent execution for this response.
-
enabled
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder enabled(JsonField<Boolean> enabled)
Sets Builder.enabled to an arbitrary JSON value.
You should usually call Builder.enabled with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
maxConcurrentSubagents
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder maxConcurrentSubagents(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.
-
maxConcurrentSubagents
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder maxConcurrentSubagents(JsonField<Long> maxConcurrentSubagents)
Sets Builder.maxConcurrentSubagents to an arbitrary JSON value.
You should usually call Builder.maxConcurrentSubagents with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaResponsesClientEvent.ResponseCreate.MultiAgent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaResponsesClientEvent.ResponseCreate.MultiAgent build()
Returns an immutable instance of MultiAgent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.enabled()
-
-
-
-