コンテンツにスキップ

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.