跳转到内容

OpenAIResponsesCompactionDecisionContext

此内容尚不支持你的语言。

type OpenAIResponsesCompactionDecisionContext = object;
compactionCandidateItems: AgentInputItem[];

Items considered compaction candidates (excludes user and compaction items). The array must not be mutated.


responseId: string | undefined;

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


sessionItems: AgentInputItem[];

All stored items retrieved from the underlying session, if available. The array must not be mutated.