Skip to content

DRU-649 -- Images reach the chat agent - #725

Merged
czpython merged 1 commit into
mainfrom
codex/dru-649-images-reach-the-chat-agent
Sep 26, 2026
Merged

czpython merged 1 commit into
mainfrom
codex/dru-649-images-reach-the-chat-agent

Conversation

@czpython

Copy link
Copy Markdown
Owner

A photo sent to a WhatsApp number or to the Slack bot now reaches the agent, on Claude, Codex, and OpenCode alike.

  • The bridge's prompt request takes content, a list of ACP content blocks, and forwards it as the prompt. The body string goes away.
  • send_turn builds the blocks: one text block per delivered message with its body, and one image block, base64 data and mime type, per message file whose type is image/* and whose size is at most MAX_UPLOAD_BYTES. Empty text blocks are left out.
  • Both channels save a message's body as the typed text, empty when the person typed nothing. The file's name no longer stands in for it. A message with no text and no file still starts no turn.
  • The web page shows a message with no text and a file without an empty text row.
  • docs/chat.md says that an image reaches the agent, under WhatsApp and under Slack's Files.

@mintlify

mintlify Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
druks 🟢 Ready View Preview Sep 26, 2026, 7:59 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

@czpython
czpython force-pushed the codex/dru-649-images-reach-the-chat-agent branch from ce3aa03 to 8cb9c1a Compare September 26, 2026 19:59
@czpython
czpython merged commit 118d628 into main Sep 26, 2026
4 checks passed
@czpython
czpython deleted the codex/dru-649-images-reach-the-chat-agent branch September 26, 2026 20:12

This branch was successfully deployed

1 active deployment
staging - docs — 8cb9c1ab Deployed Sep 26, 2026 by mintlify[bot]
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