java.lang.Object
com.github.copilot.generated.rpc.SessionMetadataApi
API methods for the
metadata namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionModel identifier and token limits used to compute the context-info breakdown.Identifies the target session.Model identifier to use when re-tokenizing the session's existing messages.Updated working-directory/git context to record on the session.Absolute path to set as the session's new working directory.snapshot()Identifies the target session.
-
Method Details
-
snapshot
Identifies the target session.- Since:
- 1.0.0
-
isProcessing
Identifies the target session.- Since:
- 1.0.0
-
contextInfo
public CompletableFuture<SessionMetadataContextInfoResult> contextInfo(SessionMetadataContextInfoParams params) Model identifier and token limits used to compute the context-info breakdown.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
recordContextChange
Updated working-directory/git context to record on the session.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
setWorkingDirectory
public CompletableFuture<SessionMetadataSetWorkingDirectoryResult> setWorkingDirectory(SessionMetadataSetWorkingDirectoryParams params) Absolute path to set as the session's new working directory.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
recomputeContextTokens
public CompletableFuture<SessionMetadataRecomputeContextTokensResult> recomputeContextTokens(SessionMetadataRecomputeContextTokensParams params) Model identifier to use when re-tokenizing the session's existing messages.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-