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
/model: ctrl+r refresh never adds the 'models · N · …' note the manual quotes #1741
area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:papercutA wording, a hint, a small wrongness that costs a moment
Found on 2026-10-02 during the pre-staging happy-path pass on dev 06a3283dd. The path is unchanged since v0.6.0 (61da16199).
In /model, pressing ctrl+r fetches the list (fetching the newest list… shows, then the list restocks), but the conversation never gets the completion note. Repeated in a fresh conversation with the same result.
commands.md, "Refreshing the model list", says: "When it lands … the conversation gets one note: models · 612 · 9 new · and up to three of the new ids, or models · 612 · nothing new." After closing the picker, the conversation shows only · new conversation · proj.
Replication
Field (real router, no model call). A profile with an OpenRouter key and the default model sources. codeaf in any folder, then /model, ctrl+r, wait for fetching the newest list… to clear, then esc. Today no models · … note appears in the transcript. Under a minute, no spend.
Deterministic. The all-provider restock path in internal/tui3/servicelands_test.go drives the same branch. Today it asserts the restock and no note.
Where
internal/tui3/modelrefresh.go: the all-provider branch restocks the list and returns before the modelsNote path that the single-fetch branch reaches (modelrefresh_test.go pins models · 4 · nothing new for the single fetch only). cmd/codeaf/chatv3_process.go supplies the all-provider refresh, so the shipped binary always takes the branch without the note.
The fix
The all-provider refresh ends with the same one note the page quotes (models · N · K new · … or models · N · nothing new, or the one-line failure), once, when every provider has answered or the fifteen-second ceiling ends the wait. Or the page says it does not.
Acceptance
e2e: tmux drive of /model → ctrl+r → esc on a stub router: the transcript contains models · <n> · nothing new.
Unit: the all-provider restock test asserts exactly one note.
area:chatThe v3 surface a person sits in front of (internal/tui3)bugSomething the code does that it should notsev:papercutA wording, a hint, a small wrongness that costs a moment
Activity