mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Show the server's model provider ID in TUI status (#43359)
## Why The TUI's local provider configuration can differ from the active thread's provider, causing `/status` to show misleading provider details. ## What changed - Use the server-provided model provider ID in `/status` and update it when attaching to a thread. - Omit the provider row until a thread is configured, and display IDs such as `openai` instead of provider names and base URLs. - Remove runtime provider URL resolution from TUI startup and the associated widget state. ## Testing Add regression coverage for provider display before session configuration, thread switching, and server settings updates. Update status snapshots to show server provider IDs while preserving usage-link behavior based on the server's authentication requirement. GitOrigin-RevId: 87214b4fd971f63835e382557969e4fc3b602745
This commit is contained in:
1 parent
0e9589ffae
commit
21bd5d3cdc
22 files changed
+87
-134
No files matched your search
+1
-1
@@ -1,6 +1,5 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/slash_commands.rs
|
||||
assertion_line: 2041
|
||||
expression: "whole_status.replace(&directory,\n\"[[workspace]]\").replace(crate::version::CODEX_CLI_VERSION, \"VERSION\")"
|
||||
---
|
||||
>_ OpenAI Codex (vVERSION)
|
||||
@@ -9,6 +8,7 @@ Visit https://chatgpt.com/codex/settings/usage for up-to-date
|
||||
information on rate limits and credits
|
||||
|
||||
Model: gpt-5.4 (reasoning medium, summaries auto)
|
||||
Model provider: openai
|
||||
Directory: [[workspace]]
|
||||
Permissions: Read Only (Ask for approval)
|
||||
Agents.md: <none>
|
||||
|
||||
Reference in new issue
Block a user