Class ServerModelsApi
java.lang.Object
com.github.copilot.generated.rpc.ServerModelsApi
API methods for the
models namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns the running runtime's complete catalog of well-known built-in model IDs without authentication or network access.list()Lists Copilot models available to the authenticated user.list(ModelsListParams params) Lists Copilot models available to the authenticated user.Reports the unit of each model's published token prices: AI Credits or nano-AIU.Reports the unit of each model's published token prices: AI Credits or nano-AIU.
-
Method Details
-
list
Lists Copilot models available to the authenticated user.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
list
Lists Copilot models available to the authenticated user.- Since:
- 1.0.0
-
getBuiltInCatalog
Returns the running runtime's complete catalog of well-known built-in model IDs without authentication or network access.- Since:
- 1.0.0
-
listTokenPriceUnits
@CopilotExperimental public CompletableFuture<ModelsListTokenPriceUnitsResult> listTokenPriceUnits()Reports the unit of each model's published token prices: AI Credits or nano-AIU. Pair these units with models.list prices by model ID and use identical account-selection options for both calls. When options are omitted, the current account and its model providers are used.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
listTokenPriceUnits
@CopilotExperimental public CompletableFuture<ModelsListTokenPriceUnitsResult> listTokenPriceUnits(ModelsListTokenPriceUnitsParams params) Reports the unit of each model's published token prices: AI Credits or nano-AIU. Pair these units with models.list prices by model ID and use identical account-selection options for both calls. When options are omitted, the current account and its model providers are used.- Since:
- 1.0.0
-