提交前确认 · Pre-submission checklist
问题类别 · Category
稳定性 / 崩溃 · Stability / Crash
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
严重程度 · Severity
影响体验 · Major (功能可用但体验受损 / works but degraded)
复现频率 · Reproducibility
必现 · Always
问题描述 · Description
bug-report-attachments-zai-web.md
Attachments uploaded in the zai-web chat are not delivered to the model container.
The gateway metadata correctly lists the attachments (file_name, Storage location: /home/z/my-project/upload/{file_name}), but the files are never physically written to the container filesystem. The target directory /home/z/my-project/upload/ remains empty.
This is a platform bug in the zai-web gateway, not a model bug. Full report (with trace IDs, session IDs, environment details) is attached below / in the follow-up comment.
Note: this report is filed against ZCode's feedback form because it is the only available escalation channel — the actual affected component is zai-web.
复现步骤 · Steps to reproduce
- Open the
zai-web chat at z.ai (session web-f0d0bc9e-f107-4e26-a105-62ca6e90df95, chat e9cc761f-abd3-4ed0-a1aa-6dd67f6a7c9d).
- Attach a PNG image and two
.txt files (e.g. 1.png, Модуль 1 - транскрибация.txt, Модуль 1 Решение ПЗ - транскрибация.txt).
- Send the message.
- In the model container, run
ls -la /home/z/my-project/upload/ — the directory is empty.
- Check the incoming message metadata — it still contains
file_name and Storage location.
期望表现 · Expected behavior
After sending an attachment in the zai-web chat, the file should appear at /home/z/my-project/upload/{file_name} within the message processing time (synchronously or in a short async window). The Storage location metadata should only be generated after a successful write to disk.
实际表现 · Actual behavior
Metadata lists the attachments, but no files appear in /home/z/my-project/upload/. A full-filesystem search (find / -type f \( -name "1.png" -o -iname "*транскрибация*" -o -iname "*Модуль*" \)) returns 0 matches. The directory is writable (drwxrwxrwx, owner root), so this is not a permissions issue — the bytes are simply never written.
ZCode 版本 · ZCode version
N/A — not a ZCode issue. Affected component: zai-web (web chat).
设备 / 系统 / 浏览器 · Device / OS / Browser
Infinix Y3 Max/Windows 11/Edge
截图 / 录屏 / 日志 · Screenshots / Recordings / Logs
No response
提交前确认 · Pre-submission checklist
问题类别 · Category
稳定性 / 崩溃 · Stability / Crash
涉及的 Agent 框架 · Agent framework
ZCode Agent(自研)
严重程度 · Severity
影响体验 · Major (功能可用但体验受损 / works but degraded)
复现频率 · Reproducibility
必现 · Always
问题描述 · Description
bug-report-attachments-zai-web.md
Attachments uploaded in the
zai-webchat are not delivered to the model container.The gateway metadata correctly lists the attachments (
file_name,Storage location: /home/z/my-project/upload/{file_name}), but the files are never physically written to the container filesystem. The target directory/home/z/my-project/upload/remains empty.This is a platform bug in the
zai-webgateway, not a model bug. Full report (with trace IDs, session IDs, environment details) is attached below / in the follow-up comment.Note: this report is filed against ZCode's feedback form because it is the only available escalation channel — the actual affected component is
zai-web.复现步骤 · Steps to reproduce
zai-webchat at z.ai (sessionweb-f0d0bc9e-f107-4e26-a105-62ca6e90df95, chate9cc761f-abd3-4ed0-a1aa-6dd67f6a7c9d)..txtfiles (e.g.1.png,Модуль 1 - транскрибация.txt,Модуль 1 Решение ПЗ - транскрибация.txt).ls -la /home/z/my-project/upload/— the directory is empty.file_nameandStorage location.期望表现 · Expected behavior
After sending an attachment in the
zai-webchat, the file should appear at/home/z/my-project/upload/{file_name}within the message processing time (synchronously or in a short async window). TheStorage locationmetadata should only be generated after a successful write to disk.实际表现 · Actual behavior
Metadata lists the attachments, but no files appear in
/home/z/my-project/upload/. A full-filesystem search (find / -type f \( -name "1.png" -o -iname "*транскрибация*" -o -iname "*Модуль*" \)) returns 0 matches. The directory is writable (drwxrwxrwx, ownerroot), so this is not a permissions issue — the bytes are simply never written.ZCode 版本 · ZCode version
N/A — not a ZCode issue. Affected component: zai-web (web chat).
设备 / 系统 / 浏览器 · Device / OS / Browser
Infinix Y3 Max/Windows 11/Edge
截图 / 录屏 / 日志 · Screenshots / Recordings / Logs
No response