mirror of
https://github.com/openai/codex.git
synced 2026-04-26 07:35:29 +00:00
Clarify ephemeral context compaction docs
Document that the current turn's ephemeral context is preserved across mid-turn compaction, while older ephemeral context is stripped during compaction. Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -2959,7 +2959,7 @@
|
||||
"description": "Override the reasoning effort for this turn and subsequent turns."
|
||||
},
|
||||
"ephemeralContext": {
|
||||
"description": "Additional model-visible context for this turn, such as editor or IDE state. This context is not re-injected automatically after compaction, so clients should send a fresh snapshot on each turn instead of expecting it to carry forward automatically.",
|
||||
"description": "Additional model-visible context for this turn, such as editor or IDE state. If compaction happens while this turn is still in progress, the current turn's ephemeral context is preserved so the turn can continue. Ephemeral context from older turns is stripped during compaction, so clients should send a fresh snapshot on each turn instead of expecting it to persist automatically.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/EphemeralContext"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user