Hi LangSmith Support,
We’re running into a tracing issue on the EU endpoint that started happening recently and is now blocking our observability workflow.
1) Problem / symptom
Some runs never show up in LangSmith UI even though the application/test completes successfully. The logs consistently show the multipart ingest failing due to payload size:
Failed to send compressed multipart ingest: Connection error caused failure to POST https://eu.api.smith.langchain.com/runs/multipart in LangSmith API. The content length of 29568864 bytes exceeds the maximum size limit of 20971520 bytes.
We confirmed the behavior is fully size-dependent:
-
Inputs < 20MB → tracing works
-
Inputs > 20MB (e.g., ~29.6MB) → tracing is dropped and nothing appears in LangSmith
2) Why this is critical for us
Our analysts actively use LangSmith traces to investigate issues. They need to:
-
see image inputs and outputs directly in the trace,
-
have working image previews/thumbnails in the UI,
-
keep original image quality (we do not want to downscale/compress images).
Also, we intentionally keep a single LLM call that may include >20MB of image data. We don’t want to split or change the payload that is sent to the LLM.
3) What we tried
-
Different projects / API keys: no difference.
-
Environment variables:
-
LANGSMITH_BATCH_SIZE_LIMIT=55242880
-
LANGSMITH_DISABLE_RUN_COMPRESSION=true
This did not help; the ingest still fails once the payload exceeds ~20MB.
-
-
We implemented chunking so that logging is split into smaller parts (each below the 20MB limit). This prevented runs from being dropped.
However, after switching to chunking + attachments, we no longer get image previews in the trace UI (the images are present as attachments, but the UI doesn’t render thumbnails/preview as expected).
4) Questions / requested guidance
-
Is the 20MB limit a hard limit per multipart ingest request on the EU endpoint? Is there any way to increase it (enterprise setting / alternative ingest)?
-
What is the recommended “supported” way to log larger volumes of image data while keeping:
-
images visible in traces (not hidden),
-
working image previews in the UI,
-
and without changing image quality?
-
-
For attachments specifically: are there requirements that affect previews (MIME types, file names/extensions, max per-attachment size, where attachments must live in inputs/outputs, etc.)?
-
Are there recommended best practices for large image-heavy traces where the actual LLM call should remain a single request with >20MB of images, but tracing still needs to be complete and analyst-friendly?
Thanks in advance for your help.
Best regards,
Byte