llm-edge/hal-9100

Incorrect File Size on File List API Call

Opened this issue · 0 comments

Describe the bug
API returning incorrect file sizes. Uploading a txt file returns an incorrect file size.
200K text file uploads are showing up as multi GB sizes.


To Reproduce

  1. Upload a file via the API and review the bytes in response.

Expected behavior
A correct file size in bytes is expected


Screenshots
If applicable, add screenshots to help explain your problem.
Wireshark - packet capture
image

Powershell API list files
image

Librechat File list
image


Desktop (please complete the following information):
NA

Mobile (please complete the following information):
NA


Additional context
Add any other context about the problem here.