java.lang.Object
com.github.copilot.sdk.json.SessionUiCapabilities
UI-specific capability flags for a session.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClears the elicitation setting, reverting to the default behavior.Returns whether the host supports interactive elicitation dialogs.setElicitation(boolean elicitation) Sets whether the host supports interactive elicitation dialogs.
-
Constructor Details
-
SessionUiCapabilities
public SessionUiCapabilities()
-
-
Method Details
-
getElicitation
Returns whether the host supports interactive elicitation dialogs.- Returns:
- an
Optionalcontaining the boolean value, or empty if not set
-
setElicitation
Sets whether the host supports interactive elicitation dialogs.- Parameters:
elicitation-trueif elicitation is supported- Returns:
- this instance for method chaining
-
clearElicitation
Clears the elicitation setting, reverting to the default behavior.- Returns:
- this instance for method chaining
-