IntelligenceX
Class

OpenAIConfig

Namespace IntelligenceX.Configuration
Assembly IntelligenceX
Modifiers sealed

OpenAI-specific configuration that can be applied to client and session options.

Inheritance

  • Object
  • OpenAIConfig

Constructors

public OpenAIConfig() #

Methods

ApplyTo 3 overloads
public Void ApplyTo(AppServerOptions options) #
Returns: Void

Applies settings to an EasySessionOptions instance.

Parameters

options IntelligenceX.OpenAI.EasySessionOptions
Session options to populate.
ApplyTo(IntelligenceX.OpenAI.IntelligenceXClientOptions options) #

Applies settings to an IntelligenceXClientOptions instance.

Parameters

options IntelligenceX.OpenAI.IntelligenceXClientOptions
Client options to populate.
ApplyTo(IntelligenceX.OpenAI.AppServer.AppServerOptions options) #

Applies app-server related settings to an AppServerOptions instance.

Parameters

options IntelligenceX.OpenAI.AppServer.AppServerOptions
App server options to populate.

Properties

public String DefaultModel { get; set; } #

Default model name to use for new sessions.

public String WorkingDirectory { get; set; } #

Default working directory for file operations.

public String ApprovalPolicy { get; set; } #

Default approval policy string (for example, "never" or "auto").

public Nullable<Boolean> AllowNetwork { get; set; } #

Enables or disables network access for tools that can use it.

public String Transport { get; set; } #

Transport identifier (for example, "native" or "appserver").

public String Originator { get; set; } #

Originator value reported for native OpenAI requests.

public String ResponsesUrl { get; set; } #

Overrides the OpenAI responses endpoint URL.

public String ChatGptApiBaseUrl { get; set; } #

Overrides the ChatGPT API base URL for native transport.

public String Instructions { get; set; } #

Default system instructions for native sessions.

public String TextVerbosity { get; set; } #

Text verbosity hint for native requests.

public String AppServerPath { get; set; } #

Path to the OpenAI app-server executable.

public String AppServerArgs { get; set; } #

Arguments passed to the app-server executable.

public String AppServerWorkingDirectory { get; set; } #

Working directory for the app-server process.

public Nullable<Boolean> OpenBrowser { get; set; } #

Opens a browser during ChatGPT login flows when enabled.

public Nullable<Boolean> PrintLoginUrl { get; set; } #

Prints the login URL to the console during ChatGPT login flows when enabled.

public Nullable<Boolean> AutoLogin { get; set; } #

Attempts automatic login when enabled.

public String LoginMode { get; set; } #

Login mode override ("chatgpt", "api", or "none").

public Nullable<Int64> MaxImageBytes { get; set; } #

Maximum allowed image payload size in bytes.

public Nullable<Boolean> RequireWorkspaceForFileAccess { get; set; } #

Requires the workspace path to be set before file access is allowed.

public String ReasoningEffort { get; set; } #

Reasoning effort hint ("low", "medium", "high").

public String ReasoningSummary { get; set; } #

Reasoning summary hint ("auto", "concise", "detailed").