.codex folder in the current user's directory, for example: C:\Users\testuser\.codex..codex folder, manually create it, then create two files: config.toml and auth.json.sk-xxxxxxxxxxxxxxxxxxxx with your DMC token).auth.json:{"OPENAI_API_KEY": "sk-xxx"}config.toml (paste the following content directly):model_reasoning_effort optional values are high, medium, low, representing the model's thinking effort level.model_provider = "Doubao-Seed-2.0-Code"
model = "Doubao-Seed-2.0-Code"
model_reasoning_effort = "high"
disable_response_storage = true
[model_providers.Doubao-Seed-2.0-Code]
name = "DMC"
base_url = "https://dmc.cc/v1"
wire_api = "responses"codex in the VSCode extension store.sudo):auth.json file:i to enter insert mode, paste the following content (replace sk-xxx with your DMC token), then press ESC, type :wq and press Enter to save and exit.{"OPENAI_API_KEY": "sk-xxx"}config.toml file:i to enter insert mode, paste the following content, then press ESC, type :wq and press Enter to save and exit.model_provider = "DMC"
model = "deepseek"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.DMC]
name = "DMC"
base_url = "https://dmc.cc/v1"
wire_api = "responses"auth.json file:i to enter insert mode, paste the following content (replace sk-xxx with your key), then press ESC, type :wq and press Enter to save and exit.{"OPENAI_API_KEY": "sk-xxx"}config.toml file:i to enter insert mode, paste the following content, then press ESC, type :wq and press Enter to save and exit.model_provider = "DMC"
model = "deepseek"
model_reasoning_effort = "high"
disable_response_storage = true
preferred_auth_method = "apikey"
[model_providers.DMC]
name = "DMC"
base_url = "https://dmc.cc/v1"
wire_api = "responses"