Class SessionProviderApi
java.lang.Object
com.github.copilot.generated.rpc.SessionProviderApi
API methods for the
provider namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionadd(SessionProviderAddParams params) BYOK providers and/or models to add to the session's registry at runtime.Optional model identifier to scope the endpoint snapshot to.
-
Method Details
-
getEndpoint
Optional model identifier to scope the endpoint snapshot to.- Since:
- 1.0.0
-
add
@CopilotExperimental public CompletableFuture<SessionProviderAddResult> add(SessionProviderAddParams params) BYOK providers and/or models to add to the session's registry at runtime. Both fields are optional; provide providers, models, or both.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-