Skip to content

feat(agents): Codex gets a model list, an effort and images (A3c of spec 30) - #251

Merged
httpsphl merged 1 commit into
mainfrom
feat/codex-models-images
Oct 10, 2026
Merged

httpsphl merged 1 commit into
mainfrom
feat/codex-models-images

Conversation

@httpsphl

Copy link
Copy Markdown
Owner

Last slice of the Codex bot (after #249 and #250), the three things it lacked next to the others.

  • Models. agents.models answers for codex: a short-lived codex app-server runs model/list (hidden models left out, display names), cached 10 minutes per agent. The composer shows the model picker for Codex bots; the model goes in the thread (Bot.agentModel).
  • Effort. The same slider as Claude's; the level is sent as effort in each turn/start.
  • Images. The courier's inline images reach the thread as image inputs with a data URL (checked with the real Codex: a red PNG was read as 'Red', with effort low).
  • Texts. The dialog's warning and the README no longer say there is no model or image choice.

Not in this PR: the Codex plan usage (account/rateLimits/updated) belongs to another account than the one the usage screen shows; it comes with per-agent accounts.

Tests: wire unit tests (an image becomes a data URL; the model list parse), an app test for the Codex bot's pickers; fmt, clippy -D warnings, cargo test --workspace and pnpm check pass.

…pec 30)

agents.models answers for codex (model/list on a short-lived app-server,
cached 10 minutes); the composer shows the effort slider and the model picker
for Codex bots; the effort goes in each turn/start. An image goes as a data
URL image input. Checked with the real codex: an image was read with
effort low.
@httpsphl
httpsphl merged commit efc9336 into main Oct 10, 2026
4 checks passed
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