DRU-650 -- Other files reach the chat agent as links - #726
Merged
czpython merged 1 commit intoSep 26, 2026
Merged
Conversation
czpython
force-pushed
the
codex/dru-650-other-files-reach-the-chat-agent-as-links
branch
from
September 26, 2026 19:39
900d8a3 to
a44de84
Compare
czpython
force-pushed
the
codex/dru-649-images-reach-the-chat-agent
branch
from
September 26, 2026 19:59
ce3aa03 to
8cb9c1a
Compare
czpython
force-pushed
the
codex/dru-650-other-files-reach-the-chat-agent-as-links
branch
from
September 26, 2026 19:59
a44de84 to
14f0695
Compare
Base automatically changed from
codex/dru-649-images-reach-the-chat-agent
to
main
September 26, 2026 20:12
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
czpython
force-pushed
the
codex/dru-650-other-files-reach-the-chat-agent-as-links
branch
from
September 26, 2026 20:14
14f0695 to
12c91f0
Compare
czpython
deleted the
codex/dru-650-other-files-reach-the-chat-agent-as-links
branch
September 26, 2026 20:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A file that is not an image or audio, sent on WhatsApp or Slack, now reaches the agent as a link it can open. An operator's agent reads the copy with its own tools. A bot agent, which has no file tools, sees the link and the file's name.
send_turnuploads each such file from the file storage to{work_root}/chat/{conversation.id}/files/{file.id}/{name}withhost.upload_file, the way it uploads the session archive to the conversation folder. Only the file's base name joins the path.resource_linkblock with afile://uri, the name, and the mime type. The three adapters turn it into a link or file part the agent can open.MAX_UPLOAD_BYTESgoes the same way, as a link, instead of a base64 block.docs/chat.mdsays what reaches the agent under WhatsApp and under Slack's Files.