Class AutoTier
java.lang.Object
com.github.copilot.rpc.AutoTier
Routing tier for the
auto model with Auto mode V2.- See Also:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
EFFICIENCY
Prioritize efficiency. -
BALANCE
Balance efficiency and intelligence. -
INTELLIGENCE
Prioritize intelligence. -
FAST
Integrator-only preset that optimizes for latency. Not a first-party GitHub Copilot product preference.
-
-
Method Details
-
getValue
Returns the JSON value for this routing tier.- Returns:
- the string value used in JSON serialization
-
fromValue
Deserializes a JSON string into its routing tier.- Parameters:
value- the JSON string value- Returns:
- the matching tier, or
nullif value isnull - Throws:
IllegalArgumentException- if the value is not a routing identifier
-
values
Returns the known convenience values. @return known routing tiers -
equals
-
hashCode
-
toString
-