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.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
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
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
-