IntelligenceX
Class

IntelligenceXClientOptions

Namespace IntelligenceX.OpenAI
Assembly IntelligenceX
Modifiers sealed

Configuration for creating an IntelligenceXClient.

Inheritance

  • Object
  • IntelligenceXClientOptions

Examples


var options = new IntelligenceXClientOptions {
    TransportKind = OpenAITransportKind.Native,
    DefaultModel = "gpt-5.3-codex"
};

        

Constructors

Methods

public Boolean TryApplyConfig(String path = null, String baseDirectory = null) #
Returns: Boolean

Attempts to apply configuration from disk to these options.

Parameters

path System.String = null
Optional config path.
baseDirectory System.String = null
Optional base directory for resolving the default config path.

Returns

true when a config file was loaded.

public Void Validate() #
Returns: Void

Validates the configuration and throws on invalid values.

Properties

public AppServerOptions AppServerOptions { get; } #

Options for the app-server transport.

public OpenAINativeOptions NativeOptions { get; } #

Options for the native ChatGPT transport.

public OpenAITransportKind TransportKind { get; set; } #

Selected transport for API calls.

public ClientInfo ClientInfo { get; set; } #

Client identity metadata sent to providers.

public Boolean AutoInitialize { get; set; } #

Whether to auto-initialize the transport.

public String DefaultModel { get; set; } #

Default model name used for requests when none is provided.

public String DefaultWorkingDirectory { get; set; } #

Default working directory for file operations.

public String DefaultApprovalPolicy { get; set; } #

Default approval policy used by the app-server.

public SandboxPolicy DefaultSandboxPolicy { get; set; } #

Default sandbox policy used by the app-server.