codex config.toml配置
- 内容介绍
- 文章标签
- 相关推荐
分享下我这边codex的config.toml配置,大家查漏补缺,可以优化的欢迎提出,codex更新还是挺频繁的
suppress_unstable_features_warning = truedisable_response_storage = true
preferred_auth_method = “apikey”
windows_wsl_setup_acknowledged = true
personality = “pragmatic”
model_provider1 = “custom”
model = “gpt-5.4”
plan_mode_reasoning_effort = “xhigh”
hide_agent_reasoning = true
model_reasoning_effort = “xhigh”
service_tier = “fast”
approval_policy = “never”
check_for_update_on_startup = true
developer_instructions = “请使用中文回答,务必使用清晰详细准确的风格。”
model_supports_reasoning_summaries = true
sandbox_mode = “danger-full-access”
web_search = “cached”
[features]
shell_snapshot = true
skills = true
streamable_shell = true
shell_tool = true
fast_mode = true
collaboration_modes = true
multi_agent = true
features_codex_hooks = true
child_agents_md = true
codex_hooks = true
apply_patch_freeform = true
memories = true
prevent_idle_sleep = true
steer = true
undo = true
unified_exec = true
[model_providers.custom]
name = “custom”
wire_api = “responses”
requires_openai_auth = true
base_url = “***”
[sandbox_workspace_write]
network_access = true
[windows]
sandbox = “elevated”
[analytics]
enabled = false
[feedback]
enabled = false
[notice]
hide_full_access_warning = true
hide_rate_limit_model_nudge = true
[profiles.fast]
approval_policy = “never”
sandbox_mode = “danger-full-access”
[tui]
theme = “dark-neon”
status_line = [“model-with-reasoning”, “context-remaining”, “current-dir”, “project-root”, “five-hour-limit”, “weekly-limit”, “codex-version”]
[shell_environment_policy]
ignore_default_excludes = true
inherit = “all”
--【壹】--:
你们用的时候hook开的起来吗,我总感觉我的没开起来,我主要是用trellis,它依赖于hook
--【贰】--:
可以参考一下官方配置说明看看默认关闭的需不需要加就行了,配置还是越精简越好
参考一下官方的
--【叁】--:
mark 记一笔,等等会儿 好查询下 都是什么功能
--【肆】--:
有一些设置是默认开启的,比如 unified_exec 和 steer 好像默认就是开启true,没必要写
--【伍】--:
新版本trellis可以试试看,满血支持了
--【陆】--:
不懂就问,佬这样设置了有什么好处吗?有什么优化
--【柒】--:
收藏了,我自己用CPA反代出来死活不知道要怎么配置。。现在大概知道了
--【捌】--:
是的,我这边都显式全打开了保险些,还是有很多都是默认关闭的
--【玖】--:
可以让codex一个个解释下每个选项,很多实验功能比如hooks需要设置了才能打开
--【拾】--:
感谢佬友分享,学习了。之前没深入研究过,正好今天好好看看。
分享下我这边codex的config.toml配置,大家查漏补缺,可以优化的欢迎提出,codex更新还是挺频繁的
suppress_unstable_features_warning = truedisable_response_storage = true
preferred_auth_method = “apikey”
windows_wsl_setup_acknowledged = true
personality = “pragmatic”
model_provider1 = “custom”
model = “gpt-5.4”
plan_mode_reasoning_effort = “xhigh”
hide_agent_reasoning = true
model_reasoning_effort = “xhigh”
service_tier = “fast”
approval_policy = “never”
check_for_update_on_startup = true
developer_instructions = “请使用中文回答,务必使用清晰详细准确的风格。”
model_supports_reasoning_summaries = true
sandbox_mode = “danger-full-access”
web_search = “cached”
[features]
shell_snapshot = true
skills = true
streamable_shell = true
shell_tool = true
fast_mode = true
collaboration_modes = true
multi_agent = true
features_codex_hooks = true
child_agents_md = true
codex_hooks = true
apply_patch_freeform = true
memories = true
prevent_idle_sleep = true
steer = true
undo = true
unified_exec = true
[model_providers.custom]
name = “custom”
wire_api = “responses”
requires_openai_auth = true
base_url = “***”
[sandbox_workspace_write]
network_access = true
[windows]
sandbox = “elevated”
[analytics]
enabled = false
[feedback]
enabled = false
[notice]
hide_full_access_warning = true
hide_rate_limit_model_nudge = true
[profiles.fast]
approval_policy = “never”
sandbox_mode = “danger-full-access”
[tui]
theme = “dark-neon”
status_line = [“model-with-reasoning”, “context-remaining”, “current-dir”, “project-root”, “five-hour-limit”, “weekly-limit”, “codex-version”]
[shell_environment_policy]
ignore_default_excludes = true
inherit = “all”
--【壹】--:
你们用的时候hook开的起来吗,我总感觉我的没开起来,我主要是用trellis,它依赖于hook
--【贰】--:
可以参考一下官方配置说明看看默认关闭的需不需要加就行了,配置还是越精简越好
参考一下官方的
--【叁】--:
mark 记一笔,等等会儿 好查询下 都是什么功能
--【肆】--:
有一些设置是默认开启的,比如 unified_exec 和 steer 好像默认就是开启true,没必要写
--【伍】--:
新版本trellis可以试试看,满血支持了
--【陆】--:
不懂就问,佬这样设置了有什么好处吗?有什么优化
--【柒】--:
收藏了,我自己用CPA反代出来死活不知道要怎么配置。。现在大概知道了
--【捌】--:
是的,我这边都显式全打开了保险些,还是有很多都是默认关闭的
--【玖】--:
可以让codex一个个解释下每个选项,很多实验功能比如hooks需要设置了才能打开
--【拾】--:
感谢佬友分享,学习了。之前没深入研究过,正好今天好好看看。

