ResponsesServerOptions.DefaultFetchHistoryCount Property

Definition

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.

public int DefaultFetchHistoryCount { get; set; }
member this.DefaultFetchHistoryCount : int with get, set
Public Property DefaultFetchHistoryCount As Integer

Property Value

Applies to