Uses of Class
com.github.copilot.sdk.json.ProviderConfig
Packages that use ProviderConfig
Package
Description
Configuration classes and data transfer objects for the Copilot SDK.
-
Uses of ProviderConfig in com.github.copilot.sdk.json
Methods in com.github.copilot.sdk.json that return ProviderConfigModifier and TypeMethodDescriptionCreateSessionRequest.getProvider()Gets the provider config.ResumeSessionConfig.getProvider()Gets the custom API provider configuration.ResumeSessionRequest.getProvider()Gets the provider config.SessionConfig.getProvider()Gets the custom API provider configuration.Sets the API key for authentication.ProviderConfig.setAzure(AzureOptions azure) Sets Azure-specific options for Azure OpenAI Service.ProviderConfig.setBaseUrl(String baseUrl) Sets the base URL for the API.ProviderConfig.setBearerToken(String bearerToken) Sets a bearer token for authentication.ProviderConfig.setHeaders(Map<String, String> headers) Sets custom HTTP headers to include in outbound provider requests.Sets the provider type.ProviderConfig.setWireApi(String wireApi) Sets the wire API format for custom providers.Methods in com.github.copilot.sdk.json with parameters of type ProviderConfigModifier and TypeMethodDescriptionvoidCreateSessionRequest.setProvider(ProviderConfig provider) Sets the provider config.ResumeSessionConfig.setProvider(ProviderConfig provider) Sets a custom API provider for BYOK scenarios.voidResumeSessionRequest.setProvider(ProviderConfig provider) Sets the provider config.SessionConfig.setProvider(ProviderConfig provider) Sets a custom API provider for BYOK (Bring Your Own Key) scenarios.