Class SessionModelDeselectedEvent
java.lang.Object
com.github.copilot.generated.SessionEvent
com.github.copilot.generated.SessionModelDeselectedEvent
@Generated("copilot-sdk-codegen")
public final class SessionModelDeselectedEvent
extends SessionEvent
Session event "session.model_deselected". The model the user had explicitly selected is no longer available, because the host that published it withdrew it, so the session no longer has an explicit selection. The next turn resolves a default as though the user had never chosen a model. Clients should stop presenting the previous model as selected. This event is durable because resume rebuilds the selected model from the event log; without it a resumed session would restore a model its provider no longer serves. Reasoning effort, verbosity, and other session-level preferences are deliberately unchanged, because they belong to the session rather than to the model.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordData payload forSessionModelDeselectedEvent. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SessionEvent
getAgentId, getEphemeral, getId, getParentId, getTimestamp, setAgentId, setEphemeral, setId, setParentId, setTimestamp
-
Constructor Details
-
SessionModelDeselectedEvent
public SessionModelDeselectedEvent()
-
-
Method Details
-
getType
Description copied from class:SessionEventReturns the event-type discriminator string (e.g.,"session.idle").- Specified by:
getTypein classSessionEvent- Returns:
- the event type
-
getData
-
setData
-