Class SessionObserveParams.Options.Builder
-
- All Implemented Interfaces:
public final class SessionObserveParams.Options.BuilderA builder for Options.
-
-
Method Summary
-
-
Method Detail
-
model
final SessionObserveParams.Options.Builder model(SessionObserveParams.Options.Model model)
Model configuration object or model name string (e.g., 'openai/gpt-5-nano')
-
model
final SessionObserveParams.Options.Builder model(JsonField<SessionObserveParams.Options.Model> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed Model value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
model
final SessionObserveParams.Options.Builder model(ModelConfig config)
Alias for calling model with
Model.ofConfig(config).
-
model
final SessionObserveParams.Options.Builder model(String string)
Alias for calling model with
Model.ofString(string).
-
selector
final SessionObserveParams.Options.Builder selector(String selector)
CSS selector to scope observation to a specific element
-
selector
final SessionObserveParams.Options.Builder selector(JsonField<String> selector)
Sets Builder.selector to an arbitrary JSON value.
You should usually call Builder.selector with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
timeout
final SessionObserveParams.Options.Builder timeout(Double timeout)
Timeout in ms for the observation
-
timeout
final SessionObserveParams.Options.Builder timeout(JsonField<Double> timeout)
Sets Builder.timeout to an arbitrary JSON value.
You should usually call Builder.timeout with a well-typed Double value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
variables
final SessionObserveParams.Options.Builder variables(SessionObserveParams.Options.Variables variables)
Variables whose names are exposed to the model so observe() returns %variableName% placeholders in suggested action arguments instead of literal values. Accepts flat primitives or { value, description? } objects.
-
variables
final SessionObserveParams.Options.Builder variables(JsonField<SessionObserveParams.Options.Variables> variables)
Sets Builder.variables to an arbitrary JSON value.
You should usually call Builder.variables with a well-typed Variables value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionObserveParams.Options.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionObserveParams.Options.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionObserveParams.Options.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionObserveParams.Options.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionObserveParams.Options.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionObserveParams.Options build()
Returns an immutable instance of Options.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-