Skip to content

fix(bots): preserve codex attachment images - #989

Merged
nixuuu merged 1 commit into
devfrom
fix/codex-bot-attachment-images
Nov 18, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/codex-bot-attachment-images

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 18, 2026

Copy link
Copy Markdown
Member

The Slack PNG was stored correctly, but the bot catalog declared the configured Codex model text-only. Codex removed the image block from the tool result before inference. Keep an advertised image modality and follow Codex's text-and-image default when modality metadata is absent. Explicitly text-only models retain their declared limit. Bot tool isolation remains in force.

Verification

  • The official Codex app-server test runs against a local Responses endpoint and verifies both a user-uploaded image and an image fetched by the bot's connector in the outgoing inference requests.
  • Catalog and isolation tests passed locally. Worker typecheck and scoped lint passed.
  • Required CI covers the repository gate. The production Slack read will be verified after the corrected Nightly is installed.

Fixes: #185
Related: #987

@nixuuu
nixuuu enabled auto-merge (squash) November 18, 2026 20:22
@nixuuu
nixuuu merged commit 08c74ef into dev Nov 18, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/codex-bot-attachment-images branch November 18, 2026 20:28
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