Class SessionModelApi
java.lang.Object
com.github.copilot.generated.rpc.SessionModelApi
API methods for the
model namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the target session.list()Optional listing options.list(SessionModelListParams params) Optional listing options.Reasoning effort level to apply to the currently selected model.switchTo(SessionModelSwitchToParams params) Target model identifier and optional reasoning effort, summary, capability overrides, and context tier.
-
Method Details
-
getCurrent
Identifies the target session.- Since:
- 1.0.0
-
switchTo
@CopilotExperimental public CompletableFuture<SessionModelSwitchToResult> switchTo(SessionModelSwitchToParams params) Target model identifier and optional reasoning effort, summary, capability overrides, and context tier.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
setReasoningEffort
@CopilotExperimental public CompletableFuture<SessionModelSetReasoningEffortResult> setReasoningEffort(SessionModelSetReasoningEffortParams params) Reasoning effort level to apply to the 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
-
list
Optional listing options.Invokes the method with no params, applying the runtime defaults.
- Since:
- 1.0.0
-
list
@CopilotExperimental public CompletableFuture<SessionModelListResult> list(SessionModelListParams params) Optional listing options.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-