Class SessionMetadataApi
java.lang.Object
com.github.copilot.generated.rpc.SessionMetadataApi
API methods for the
metadata namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionactivity()Identifies the target session.Model 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
-
activity
Identifies the target session.- Since:
- 1.0.0
-
contextInfo
@CopilotExperimental 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
@CopilotExperimental public CompletableFuture<Void> recordContextChange(SessionMetadataRecordContextChangeParams params) 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
@CopilotExperimental 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
@CopilotExperimental 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
-