[修改代码使用]codex官方app中使用中转(不需要cc-switch) 1.config.toml 2.sk方式登录

1)设置好base_url

C:\Users\LX-SLM\.codex\config.toml 注意:/v1后缀

复制代码
model_provider = "codex"
model = "gpt-5.4" #可更改为model = "gpt-5.4"
model_reasoning_effort = "medium"
disable_response_storage = true


[model_providers.codex]
name = "codex"
# base_url = "https://code.ppchat.vip/v1"
base_url = "https://hone.vvvv.ee/v1"
wire_api = "responses"
requires_openai_auth = true


[notice.model_migrations]
"gpt-5.3-codex" = "gpt-5.4"

[windows]
sandbox = "elevated"

[mcp_servers.cocos_mcp]
enabled = true
url = "http://localhost:9527/mcp"

[mcp_servers.node_repl]
args = []
command = 'C:\Users\LX-SLM\AppData\Local\OpenAI\Codex\bin\34ab3e1324cc55b5\node_repl.exe'
startup_timeout_sec = 120

[mcp_servers.node_repl.env]
NODE_REPL_NATIVE_PIPE_CONNECT_TIMEOUT_MS = "1000"
NODE_REPL_NODE_MODULE_DIRS = ""
NODE_REPL_NODE_PATH = 'C:\Users\LX-SLM\AppData\Local\OpenAI\Codex\bin\5b9024f90663758b\node.exe'
NODE_REPL_TRUSTED_CODE_PATHS = 'C:\Users\LX-SLM\.codex'
CODEX_HOME = 'C:\Users\LX-SLM\.codex'
NODE_REPL_TRUSTED_BROWSER_CLIENT_SHA256S = "4946b004b23af02244ece97240aceb8d123475207fa6a6fc399486bd7086049f,e13c388c2427308a68dffc803e1f28316077b719672e4518a621ae6ab56ad7cf"
BROWSER_USE_AVAILABLE_BACKENDS = "chrome,iab"
NODE_REPL_INSTRUCTIONS_USE_CASE_BROWSER = "Control the in-app browser in conjunction with the Browser Plugin."
NODE_REPL_INSTRUCTIONS_USE_CASE_CHROME = "Control the Chrome browser in conjunction with the Chrome Plugin. Prefer this method of controlling Chrome over alternatives (such as Computer Use) unless the user explicitly mentions an alternative."
BROWSER_USE_CODEX_APP_BUILD_FLAVOR = "prod"
BROWSER_USE_CODEX_APP_VERSION = "26.602.71036"
CODEX_CLI_PATH = 'C:\Users\LX-SLM\AppData\Local\OpenAI\Codex\bin\fb2111b91430cb17\codex.exe'

[marketplaces.openai-bundled]
last_updated = "2026-06-09T14:09:56Z"
source_type = "local"
source = '\\?\C:\Users\LX-SLM\.codex\.tmp\bundled-marketplaces\openai-bundled'

[marketplaces.openai-primary-runtime]
last_updated = "2026-06-09T13:55:56Z"
source_type = "local"
source = '\\?\C:\Users\LX-SLM\.cache\codex-runtimes\codex-primary-runtime\plugins\openai-primary-runtime'

[plugins."documents@openai-primary-runtime"]
enabled = true

[plugins."spreadsheets@openai-primary-runtime"]
enabled = true

[plugins."presentations@openai-primary-runtime"]
enabled = true

[plugins."browser@openai-bundled"]
enabled = true

[features]
js_repl = false

[desktop]
conversationDetailMode = "STEPS_COMMANDS"
ambient-suggestions-enabled = false

[projects.'e:\01_my_gitee\hulaisanguoserver']
trust_level = "trusted"

2)登录的时候,使用

输入sk

相关推荐
逍遥德1 小时前
MQTT教程详解-05.SpringBoot集成mqtt client 性能分析
java·spring boot·spring·mt
云烟成雨TD1 小时前
Spring AI 1.x 系列【54】Retry 机制分析
java·人工智能·spring
weixin_523185321 小时前
Collections.unmodifiableMap详解:真的不可修改吗?
java·linux·前端
点燃大海1 小时前
SpringAI构建智能体
java·spring boot·spring·springai智能体
xier_ran2 小时前
【infra之路】02_RadixAttention与KV_Cache管理
java·spring boot·spring
黑马师兄2 小时前
RAG混合检索深度解析:让AI真正找到你要的内容
java·人工智能·ai·agent·rag·ai-native
码客日记2 小时前
Spring Boot 配置文件敏感信息加密(Jasypt 企业级完整方案)
java·spring boot·git
凡人叶枫2 小时前
Effective C++ 条款04:确定对象被使用前已先被初始化
java·linux·开发语言·c++·嵌入式开发
极客先躯3 小时前
高级java每日一道面试题-2026年02月01日-实战篇[Docker]-Docker Volume 的生命周期管理是怎样的?
java·运维·docker·容器·持久化·架构图·容器卷