Package com.github.copilot.sdk.json
Class ModelInfo
java.lang.Object
com.github.copilot.sdk.json.ModelInfo
Information about an available model.
- Since:
- 1.0.1
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the default reasoning effort level.getId()getName()Gets the supported reasoning effort levels.setBilling(ModelBilling billing) setCapabilities(ModelCapabilities capabilities) setDefaultReasoningEffort(String defaultReasoningEffort) Sets the default reasoning effort level.setPolicy(ModelPolicy policy) setSupportedReasoningEfforts(List<String> supportedReasoningEfforts) Sets the supported reasoning effort levels.
-
Constructor Details
-
ModelInfo
public ModelInfo()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getCapabilities
-
setCapabilities
-
getPolicy
-
setPolicy
-
getBilling
-
setBilling
-
getSupportedReasoningEfforts
Gets the supported reasoning effort levels.- Returns:
- the list of supported reasoning effort levels, or
nullif the model doesn't support reasoning effort
-
setSupportedReasoningEfforts
Sets the supported reasoning effort levels.- Parameters:
supportedReasoningEfforts- the list of supported reasoning effort levels- Returns:
- this instance for method chaining
-
getDefaultReasoningEffort
Gets the default reasoning effort level.- Returns:
- the default reasoning effort level, or
nullif the model doesn't support reasoning effort
-
setDefaultReasoningEffort
Sets the default reasoning effort level.- Parameters:
defaultReasoningEffort- the default reasoning effort level- Returns:
- this instance for method chaining
-