Invalid value: 'context_compaction'
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_
4 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
the error will also pop up when i use '/' to manually initiate context compressing
i think i found a fix for this - i upgraded my remote server codex from 0.130.0 to 0.139.0 and it seems the issue is gone
the 'upgrade' is done by removing the .codex folder (backup first) and then reinstalling with this command
curl -fsSL https://chatgpt.com/codex/install.sh | sh