Invalid value: 'context_compaction'

Open 💬 4 comments Opened Jun 11, 2026 by hzqn1234

What version of the Codex App are you using (From “About Codex” dialog)?

26.608.12217

What subscription do you have?

ChatGPT Pro 20x

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64

What issue are you seeing?

feedback ID 019eb343-5be7-7cd1-a7ae-c4a117c5ac38

everytime when the context is automatcially compressed, this error pop up

[ItemParam] [input[2]] [invalid_enum_value] Invalid value: 'context_compaction'. Supported values are: 'additional_tools', 'apply_patch_call', 'apply_patch_call_output', 'code_interpreter_call', 'compaction', 'compaction_trigger', 'computer_call', 'computer_call_output', 'custom_tool_call', 'custom_tool_call_output', 'file_search_call', 'function_call', 'function_call_output', 'image_generation_call', 'item_reference', 'local_shell_call', 'local_shell_call_output', 'mcp_approval_request', 'mcp_approval_response', 'mcp_call', 'mcp_list_tools', 'message', 'reasoning', 'shell_call', 'shell_call_output', 'tool_search_call', 'tool_search_output', and 'web_search_call'.

What steps can reproduce the bug?

conversation with the agent until the context is automatcially compressed, then the error pop up

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗