Module com.github.copilot.sdk.java
Package com.github.copilot.sdk.json
Class ModelCapabilitiesOverride.Supports
java.lang.Object
com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
- Enclosing class:
- ModelCapabilitiesOverride
Feature flag overrides for model capabilities.
Set a field to true or false to override that capability;
leave it null to use the runtime default.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClears the reasoningEffort setting, reverting to the default behavior.Clears the vision setting, reverting to the default behavior.Gets the reasoning effort override.Gets the vision override.setReasoningEffort(boolean reasoningEffort) Sets whether reasoning effort configuration is enabled.setVision(boolean vision) Sets whether vision (image input) is enabled.
-
Constructor Details
-
Supports
public Supports()
-
-
Method Details
-
getVision
Gets the vision override.- Returns:
- an
Optionalcontainingtrueto enable vision orfalseto disable, orOptional.empty()to use the runtime default
-
setVision
Sets whether vision (image input) is enabled. UseclearVision()to revert to the runtime default.- Parameters:
vision-trueto enable,falseto disable- Returns:
- this instance for method chaining
-
clearVision
Clears the vision setting, reverting to the default behavior.- Returns:
- this instance for method chaining
-
getReasoningEffort
Gets the reasoning effort override.- Returns:
- an
Optionalcontainingtrueto enable reasoning effort orfalseto disable, orOptional.empty()to use the runtime default
-
setReasoningEffort
Sets whether reasoning effort configuration is enabled. UseclearReasoningEffort()to revert to the runtime default.- Parameters:
reasoningEffort-trueto enable,falseto disable- Returns:
- this instance for method chaining
-
clearReasoningEffort
Clears the reasoningEffort setting, reverting to the default behavior.- Returns:
- this instance for method chaining
-