Disconnected when using custom provider and no ability to switch providers or profiles

Open 💬 0 comments Opened May 13, 2026 by Rafik-Belkadi-Reccap

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.506.31421 (2620)

What subscription do you have?

Free

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

I just wired up my hosted models from openai on Azure.

But i have multiple issues :
1- I am no longer connected to openai/chatgpt , can't access plugins / profile
2- i cannot choose between different profiles / providers, switch back to openai or back to azure, it's just stuck on azure.

here is my config.tml:

model = "gpt-5.5"
model_provider= "azure"
model_reasoning_effort = "medium"
personality = "pragmatic"

[model_providers.azure]
name = "Azure"
base_url = "https://y-ai-resource.cognitiveservices.azure.com/openai"
env_key = "AZURE_OPENAI_API_KEY"
query_params = { api-version = "2025-04-01-preview" }
wire_api = "responses"

[profiles.azure]
model_provider = "azure"
model = "gpt-5.5"
model_reasoning_effort = "medium"

[marketplaces.openai-bundled]
last_updated = "2026-05-12T16:15:23Z"
source_type = "local"
source = "/Users/rafikbelkadi/.codex/.tmp/bundled-marketplaces/openai-bundled"

[marketplaces.openai-primary-runtime]
last_updated = "2026-05-11T10:47:11Z"
source_type = "local"
source = "/Users/rafikbelkadi/.cache/codex-runtimes/codex-primary-runtime/plugins/openai-primary-runtime"

[plugins."canva@openai-curated"]
enabled = true

[plugins."github@openai-curated"]
enabled = true

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

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

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

[plugins."vercel@openai-curated"]
enabled = true

[plugins."sentry@openai-curated"]
enabled = true

[plugins."build-web-apps@openai-curated"]
enabled = true

[plugins."expo@openai-curated"]
enabled = true

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

[hooks.state]

[hooks.state."/Users/rafikbelkadi/.codex/hooks.json:pre_tool_use:0:0"]
trusted_hash = "sha256:e1f92718413c2ee2fbce2d71262c7db44a9e289f6c67e3c1ffd65eba58063407"

[projects."/Users/rafikbelkadi/Desktop/Y/Y"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-on-codex"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/dans-l-application-codex-comment-je"]
trust_level = "trusted"

[projects."/Users/rafikbelkadi/Documents/Codex/2026-05-12/i-got-this-error-in-codex"]
trust_level = "trusted"

[features]
hooks = true
terminal_resize_reflow = true
memories = true
external_migration = true
goals = true
prevent_idle_sleep = true

[tui.model_availability_nux]
"gpt-5.5" = 1

[notice.external_config_migration_prompts.project_last_prompted_at]
"/Users/rafikbelkadi" = 1778594421

<img width="1728" height="1082" alt="Image" src="https://github.com/user-attachments/assets/0c31c57c-f8aa-4791-ac4b-b8f23a71f229" />

What steps can reproduce the bug?

try to edit config.tml and add a custom provider as the default

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗