Class SessionCompletionsApi
java.lang.Object
com.github.copilot.generated.rpc.SessionCompletionsApi
API methods for the
completions namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the target session.Request host-driven completions for the current composer input.
-
Method Details
-
getTriggerCharacters
@CopilotExperimental public CompletableFuture<SessionCompletionsGetTriggerCharactersResult> getTriggerCharacters()Identifies the target session.- Since:
- 1.0.0
-
request
@CopilotExperimental public CompletableFuture<SessionCompletionsRequestResult> request(SessionCompletionsRequestParams params) Request host-driven completions for the current composer input.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-