Class SessionProvidersApi
java.lang.Object
com.github.copilot.generated.rpc.SessionProvidersApi
API methods for the
providers namespace.- Since:
- 1.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionAPI methods for theproviders.modelssub-namespace. -
Method Summary
Modifier and TypeMethodDescriptionDiscovers reachable instances using an adapter from this session's effective provider catalog and provider-specific discovery input.Returns adapter definitions and supported operations in this session's effective provider catalog, without running discovery.Gets current health and version information for a discovered model-provider instance.
-
Field Details
-
models
API methods for theproviders.modelssub-namespace.
-
-
Method Details
-
getCatalog
Returns adapter definitions and supported operations in this session's effective provider catalog, without running discovery. Does not list provider instances or select inference models.- Since:
- 1.0.0
-
discover
@CopilotExperimental public CompletableFuture<SessionProvidersDiscoverResult> discover(SessionProvidersDiscoverParams params) Discovers reachable instances using an adapter from this session's effective provider catalog and provider-specific discovery input.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-
getStatus
@CopilotExperimental public CompletableFuture<SessionProvidersGetStatusResult> getStatus(SessionProvidersGetStatusParams params) Gets current health and version information for a discovered model-provider instance.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-