Class SessionModeApi
java.lang.Object
com.github.copilot.sdk.generated.rpc.SessionModeApi
API methods for the
mode namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionget()The agent mode.set(SessionModeSetParams params) Invokessession.mode.set.
-
Method Details
-
get
The agent mode. Valid values: "interactive", "plan", "autopilot".- Since:
- 1.0.0
-
set
Invokessession.mode.set.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-