Files
DocsGPT/application
Alex 0d67734fdd Let sandbox tools use a chat attachment, bridged on first reference
When code_executor or read_document is given an input that doesn't resolve to an
existing artifact, it now falls back to the caller's own chat attachments,
bridges the referenced one into a conversation-scoped artifact (idempotent,
server-computed size/sha256, quota-respected), and stages it. This is lazy —
plain chat uploads are never bridged, only a file a tool actually references —
and conversation-scoped only (workflow nodes bridge attachments up front).

The match is confined to the request's own attachments and re-verified against
the user-scoped attachments repo, so a model-supplied name/id can only ever reach
the caller's own files. Only the current request's attachments are reachable (the
attachments table has no conversation column); prior-turn files are a follow-up.
2026-06-25 17:11:45 +01:00
..
2026-05-15 12:23:31 +01:00
2026-04-18 13:13:57 +01:00
2026-06-18 16:21:42 +01:00
2026-03-17 14:27:48 +00:00
2026-04-25 14:57:37 +01:00
2026-04-12 00:07:24 +01:00
2026-06-23 17:11:49 +01:00
2026-06-08 22:02:21 +01:00
2026-05-15 12:23:31 +01:00
2026-06-08 15:07:31 +01:00
2026-06-08 15:07:31 +01:00
2026-04-28 02:27:02 +01:00
2026-05-31 18:00:51 +02:00
2026-06-16 18:08:04 +01:00
2026-05-23 02:39:20 +01:00