Bug Description
Attempting to upload a single 20MB via the Control Plane does not upload the whole file / the dialog doesn't close.
Log dump:
hermes-hindsight | Request body exceeded 10MB for /api/files/retain. Only the first 10MB will be available unless configured. See https://nextjs.org/docs/app/api-reference/config/next-config-js/middlewareClientMaxBodySize for more details.
hermes-hindsight | Error uploading files: TypeError: Failed to parse body as FormData.
hermes-hindsight | at async w (.next/server/chunks/[root-of-the-server]__1yzek0o._.js:1:1320)
hermes-hindsight | at async l (.next/server/chunks/[root-of-the-server]__1yzek0o._.js:1:5645)
The logs would indicate that Next.js is truncating the body to 10MB.
Steps to Reproduce
Control Plane -> Add Document -> Upload Files -> Drag & Drop 1x 20MB file -> Click submit -> No UI change
Expected Behavior
Dialog closes, file is retained in the background.
Actual Behavior
Logs indicate that only the first 10MB of data is accepted.
Version
0.8.2
LLM Provider
Other
Bug Description
Attempting to upload a single 20MB via the Control Plane does not upload the whole file / the dialog doesn't close.
Log dump:
The logs would indicate that Next.js is truncating the body to 10MB.
Steps to Reproduce
Control Plane -> Add Document -> Upload Files -> Drag & Drop 1x 20MB file -> Click submit -> No UI change
Expected Behavior
Dialog closes, file is retained in the background.
Actual Behavior
Logs indicate that only the first 10MB of data is accepted.
Version
0.8.2
LLM Provider
Other