Class
OpenAICompatibleHttpOptions
Options for connecting to an OpenAI-compatible HTTP endpoint (for example a local model server).
Inheritance
- Object
- OpenAICompatibleHttpOptions
Constructors
public OpenAICompatibleHttpOptions() #Methods
Inherited Methods
Properties
public String BaseUrl { get; set; } #Base URL for the OpenAI-compatible API. Example: http://127.0.0.1:11434/v1 or http://localhost:1234/v1.
public OpenAICompatibleHttpAuthMode AuthMode { get; set; } #Auth mode for compatible-http requests.
public String ApiKey { get; set; } #Optional API key used with Bearer. Local providers often ignore this.
public String BasicUsername { get; set; } #Optional username used with Basic.
public String BasicPassword { get; set; } #Optional password used with Basic.
public Boolean Streaming { get; set; } #Whether to request streaming responses when supported by the provider.
public Boolean AllowInsecureHttp { get; set; } #When true, allows insecure http:// URLs (loopback only).
public Boolean AllowInsecureHttpNonLoopback { get; set; } #When true, allows insecure http:// URLs for non-loopback hosts (dangerous).