Class ModelCapabilitiesOverride.Supports

java.lang.Object
com.github.copilot.sdk.json.ModelCapabilitiesOverride.Supports
Enclosing class:
ModelCapabilitiesOverride

public static class ModelCapabilitiesOverride.Supports extends Object
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 Details

    • Supports

      public Supports()
  • Method Details

    • getVision

      public Boolean getVision()
      Gets the vision override.
      Returns:
      true to enable vision, false to disable, or null to use the runtime default
    • setVision

      public ModelCapabilitiesOverride.Supports setVision(Boolean vision)
      Sets whether vision (image input) is enabled.
      Parameters:
      vision - true to enable, false to disable, or null to use the runtime default
      Returns:
      this instance for method chaining
    • getReasoningEffort

      public Boolean getReasoningEffort()
      Gets the reasoning effort override.
      Returns:
      true to enable reasoning effort, false to disable, or null to use the runtime default
    • setReasoningEffort

      public ModelCapabilitiesOverride.Supports setReasoningEffort(Boolean reasoningEffort)
      Sets whether reasoning effort configuration is enabled.
      Parameters:
      reasoningEffort - true to enable, false to disable, or null to use the runtime default
      Returns:
      this instance for method chaining