IntelligenceX

API Reference

Class

CopilotNativeOptions

Namespace IntelligenceX.Copilot.Native
Assembly IntelligenceX
Modifiers sealed

Configures direct Copilot HTTP access without a CLI or native runtime.

Inheritance

  • Object
  • CopilotNativeOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

Methods

public Void Validate() #
Returns: Void

Checks endpoint and timeout configuration before any request is sent.

Properties

public String BaseUrl { get; set; } #

Copilot inference API root. Custom deployments must use HTTPS.

public String GitHubToken { get; set; } #

GitHub credential authorized for Copilot requests. Never written to disk automatically.

public Func<CancellationToken, Task<String>> TokenProvider { get; set; } #

Optional credential callback, invoked for each request so hosts can renew credentials.

public IAuthBundleStore AuthStore { get; set; } #

Optional shared authentication store containing the copilot provider bundle.

public String AccountId { get; set; } #

Account to select from the authentication store.

public String GitHubClientId { get; set; } #

Registered GitHub app client ID for interactive sign-in and OAuth renewal. Not needed for supplied credentials.

public String GitHubClientSecret { get; set; } #

Optional client secret required by some registered app types when refreshing tokens. Never persisted by the SDK.

public String GitHubAuthBaseUrl { get; set; } #

GitHub login root used only for explicitly requested device sign-in or token renewal.

public String GitHubApiBaseUrl { get; set; } #

GitHub account API root used to verify the signed-in identity.

public Boolean UseEnvironmentCredentials { get; set; } #

Allows COPILOT_GITHUB_TOKEN, GH_TOKEN, or GITHUB_TOKEN when no explicit credential source is configured.

public Boolean Streaming { get; set; } #

Whether inference should stream text deltas.

public TimeSpan RequestTimeout { get; set; } #

Maximum duration of each HTTP operation, including body reads.

public HttpMessageHandler HttpMessageHandler { get; set; } #

Optional HTTP handler for host networking and deterministic tests. Ownership transfers to the client.