Class SessionModeApi
java.lang.Object
com.github.copilot.generated.rpc.SessionModeApi
API methods for the
mode namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionget()Gets the current agent interaction mode.set(SessionModeSetParams params) Sets the current agent interaction mode.
-
Method Details
-
get
Gets the current agent interaction mode.- Since:
- 1.0.0
-
set
@CopilotExperimental public CompletableFuture<SessionModeSetResult> set(SessionModeSetParams params) Sets the current agent interaction mode.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-