Skip to content

Support Codex Ultrafast in the model picker - #351

Merged
cu1ch3n merged 5 commits into
mainfrom
feat/codex-ultrafast
Nov 27, 2026
Merged

cu1ch3n merged 5 commits into
mainfrom
feat/codex-ultrafast

Conversation

@cu1ch3n

@cu1ch3n cu1ch3n commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

What and why

Codex can advertise both Fast and Ultrafast for a model. Papilot keeps only one accelerated tier today, so eligible users cannot choose Ultrafast.

  • Show Standard, Fast, and Ultrafast when the selected Codex model offers Ultrafast. Fast has one lightning bolt and Ultrafast has two, including on the closed model picker.
  • Remember the exact speed per model, preserve existing Fast preferences, and use Standard for task turns and Git helpers while their saved speed is unavailable. The saved preference is kept so it can take effect when the catalog advertises the speed again.
  • Pass the selected speed through new and existing tasks and the Git helpers.

How it was checked

  • npm run typecheck, npm run build, npm run i18n -- check, and npm run i18n:check-app.
  • Model picker browser checks cover keyboard selection, persistence, and task submission. Checked desktop, 320px touch layouts, and WebKit.
  • Git workspace and queued-merge regression checks cover lost and restored Ultrafast availability, retained preferences, and unchanged permissions on same-agent merges.
  • A disposable Papilot task sent the ultrafast tier to the local signed-in Codex and completed a live GPT-6.2 Sol turn.
  • npm test reported one host-specific dsh lookup failure, reproduced on main.
  • npm run test:ui stopped on an existing 320px Statistics tooltip overflow in the full run. The focused workspace, model picker, and permission browser checks passed.

Interface

Desktop speed selector with a centered Standard label and two closely spaced bolts for Ultrafast

Speed selector in Chinese on a 320px dark phone viewport

Modern Web Guidance

  • forms and accessibility use labeled native radios and a visible keyboard focus indicator.
  • browser-ui-theming applies the workspace palette to the selected and focused states.
  • form-factor-adaptation keeps touch targets at least 48px tall and lets long translations wrap.

Use the speeds reported by Codex and remember the selected service tier per model. Preserve Fast preferences and keep saved tasks usable when the catalog changes.

Modern Web Guidance: forms and accessibility for labeled native radio groups and keyboard support, browser-ui-theming for native control styling.
Show one bolt for Fast and two for Ultrafast on the choices and the model button. Preserve the radio group and its keyboard interaction, with sized touch targets and a visible selected state.

Modern Web Guidance: forms and accessibility for native radio semantics and focus, browser-ui-theming for applying the app palette to native controls, and form-factor-adaptation for full-size touch areas and wrapping labels.
Keep the speed names aligned while reserving lightning icons for the accelerated options.
Set icons beside labels and keep the Standard label centered. Use the form-factor-adaptation guidance to keep full touch targets and wrap longer translations when needed.
@cu1ch3n
cu1ch3n merged commit c6a4b15 into main Nov 27, 2026
11 checks passed
@cu1ch3n
cu1ch3n deleted the feat/codex-ultrafast branch November 27, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant