Skip to content

Instantly share code, notes, and snippets.

@emepetres
Last active April 12, 2026 20:01
Show Gist options
  • Select an option

  • Save emepetres/56c6d796f4617f5f1e6c46b462b19284 to your computer and use it in GitHub Desktop.

Select an option

Save emepetres/56c6d796f4617f5f1e6c46b462b19284 to your computer and use it in GitHub Desktop.
Codex config.toml
model = "gpt-5.4"
model_reasoning_effort = "high"
tool_output_token_limit = 25000
# Leave room for native compaction near the 272–273k context window.
# Formula: 273000 - (tool_output_token_limit + 15000)
# With tool_output_token_limit=25000 ⇒ 273000 - (25000 + 15000) = 233000
model_auto_compact_token_limit = 233000
personality = "pragmatic"
approval_policy = "never"
sandbox_mode = "workspace-write"
[features]
ghost_commit = false
unified_exec = true
apply_patch_freeform = true
skills = true
shell_snapshot = true
multi_agent = true
[windows]
sandbox = "elevated"
[projects.'C:\Users\jcarnero\projects\vision-handoff-agents']
trust_level = "trusted"
[sandbox_workspace_write]
network_access = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment