InMemoryProviderOptions Class

Definition

Options for configuring the built-in in-memory ResponsesProvider implementation.

public class InMemoryProviderOptions
type InMemoryProviderOptions = class
Public Class InMemoryProviderOptions
Inheritance
InMemoryProviderOptions

Remarks

These options only affect the built-in InMemoryResponsesProvider. Custom ResponsesProvider implementations manage their own storage and eviction policies independently.

Response data (envelopes, input items, output items, history, and conversation membership) is retained indefinitely. Only event stream replay buffers are evicted after EventStreamTtl.

Constructors

Name Description
InMemoryProviderOptions()

Properties

Name Description
EventStreamTtl

Gets or sets the time-to-live for event stream replay buffers. After this duration, SSE replay is no longer available for completed responses. Default: 10 minutes.

Applies to