Class ResponseCreateParams.MultiAgent.Builder
-
- All Implemented Interfaces:
public final class ResponseCreateParams.MultiAgent.BuilderA builder for MultiAgent.
-
-
Method Summary
-
-
Method Detail
-
enabled
final ResponseCreateParams.MultiAgent.Builder enabled(Boolean enabled)
Whether to enable server-hosted multi-agent execution for this response.
-
enabled
final ResponseCreateParams.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 ResponseCreateParams.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 ResponseCreateParams.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 ResponseCreateParams.MultiAgent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ResponseCreateParams.MultiAgent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ResponseCreateParams.MultiAgent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ResponseCreateParams.MultiAgent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ResponseCreateParams.MultiAgent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ResponseCreateParams.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()
-
-
-
-