Class SessionLimitPredictionApi
java.lang.Object
com.github.copilot.generated.rpc.SessionLimitPredictionApi
API methods for the
limitPrediction namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionpredict()Parameters for predicting an AI-credit session limit.Parameters for predicting an AI-credit session limit.
-
Method Details
-
predict
Parameters for predicting an AI-credit session limit. Omitting `modelId` uses the session's currently selected model.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
predict
@CopilotExperimental public CompletableFuture<SessionLimitPredictionResult> predict(SessionLimitPredictionPredictParams params) Parameters for predicting an AI-credit session limit. Omitting `modelId` uses the session's currently selected model.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-