ResponsesServerOptions Class

Definition

Configuration options for the Responses API server SDK.

public class ResponsesServerOptions
type ResponsesServerOptions = class
Public Class ResponsesServerOptions
Inheritance
ResponsesServerOptions

Constructors

Name Description
ResponsesServerOptions()

Properties

Name Description
DefaultFetchHistoryCount

Gets or sets the maximum number of conversation history items that GetHistoryAsync(CancellationToken) fetches. Default: 100. Can also be configured via the DEFAULT_FETCH_HISTORY_ITEM_COUNT environment variable (integer value). Programmatic configuration takes precedence.

DefaultModel

Gets or sets the default model to use when model is omitted from a CreateResponse request. When null and the request omits model, an empty string is used. Request-level model always takes precedence.

Applies to