You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A new Codex pane shows "Conversation unavailable" before its first message when a custom model provider names the model #3263
A new Codex pane started in a terminal shows "Conversation unavailable — show terminal output" in Chat until its first answer, instead of the empty new chat ("What should Codex do in ?") that #1967 gives a fresh Codex. It happens whenever Codex runs a model from a custom model provider (model_provider in Codex's config.toml, here a local OpenAI-compatible proxy). Codex then writes the model in its footer as the provider names it, for example:
DeepSeek4.1flash(OpenCode) low · ~/project
gpt-6.1-terra high · ~/project
Where (main d5b8333):server/start-screen.ts:43 reads the footer's model only as GPT-[\w.-]+, so codexLayout returns null for these footers. codexStartScreenUnused (:70) then says no, startScreenMetadata names no model, and server/conversation.ts:2102-2118 skips codexFreshSession and falls back to the terminal. Once the first answer is in, the transcript binds and the chat is fine.
Repro:
Configure Codex with a custom model provider whose model is not named GPT-….
Start codex in a herdr pane from the shell (an agent Ovis starts is covered by its launch record until it first gets busy).
Before sending anything, open the pane's Chat: "Conversation unavailable". GET /api/pane/conversation?pane_id=<pane> answers "source": "scrollback" with no turns.
With an OpenAI model in the footer (GPT-6-Luna medium · …, as in server/start-screen.test.ts) the same screen is a start screen and Chat greets (fix(chat): greet a fresh Codex started in a terminal #1967). We run only provider-named models, so this step is from the tests, not our panes.
Proposal: read the footer's model as one word, ([^\s·]+), keeping the rest of the layout check (header, prompt line, effort word, hint row) as it is. Keep GPT-… lowercased to its id as now, and keep another provider's name as written (as gjcScreen does for a model it has no id for). I have a patch with tests and can open the PR.
How often
Every time
Ovis version
0.4.22 (seen); the same code is on main d5b8333 (after 0.5.0)
How it runs
herdr plugin
Server PC
macOS 26.5, Apple Silicon
Device and browser
Chrome on the same Mac
How the device reaches the server
This PC (localhost)
How it signs in
Nothing (this PC)
Agent and PC
Codex CLI 0.164.0 with a custom model provider (local OpenAI-compatible proxy); herdr 0.9.5
Screenshots or logs
Before the first message: {"source":"scrollback","turns":[]} on six reads in a row. With the footer regex widened, the same pane read codex-transcript, no turns, and an unwritten:codex:<pane>:… history id, which is the new-chat state.
Activity
fix(chat): greet a new Codex pane whose footer names a custom provide…