콘텐츠로 이동

OpenAIResponsesCompactionArgs

이 콘텐츠는 아직 번역되지 않았습니다.

type OpenAIResponsesCompactionArgs = object;

Session subtype that can run compaction logic after a completed turn is persisted.

optional force: boolean;

When true, compaction should run regardless of any internal thresholds or hooks.


optional responseId: string;

The response.id from a completed OpenAI Responses API turn, if available.

When omitted, implementations may fall back to a cached value or throw.