Class SessionHistoryApi
java.lang.Object
com.github.copilot.sdk.generated.rpc.SessionHistoryApi
API methods for the
history namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptioncompact()Invokessession.history.compact.truncate(SessionHistoryTruncateParams params) Invokessession.history.truncate.
-
Method Details
-
compact
Invokessession.history.compact.- Since:
- 1.0.0
-
truncate
public CompletableFuture<SessionHistoryTruncateResult> truncate(SessionHistoryTruncateParams params) Invokessession.history.truncate.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-