java.lang.Object
com.github.copilot.generated.rpc.SessionHistoryApi
API methods for the
history namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionIdentifies the target session.Identifies the target session.compact()Optional compaction parameters.Identifies the target session.truncate(SessionHistoryTruncateParams params) Identifier of the event to truncate to; this event and all later events are removed.
-
Method Details
-
compact
Optional compaction parameters.- Since:
- 1.0.0
-
truncate
public CompletableFuture<SessionHistoryTruncateResult> truncate(SessionHistoryTruncateParams params) Identifier of the event to truncate to; this event and all later events are removed.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
cancelBackgroundCompaction
public CompletableFuture<SessionHistoryCancelBackgroundCompactionResult> cancelBackgroundCompaction()Identifies the target session.- Since:
- 1.0.0
-
abortManualCompaction
Identifies the target session.- Since:
- 1.0.0
-
summarizeForHandoff
Identifies the target session.- Since:
- 1.0.0
-