Skip to content
Discussion options

You must be logged in to vote

Yes, all of these services/controllers use the same middleware via their respective routes, which is what initializes the file as req.file

https://github.com/danny-avila/LibreChat/blob/main/api/server/routes/files/index.js

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@PrimeObjects
Comment options

@danny-avila
Comment options

Answer selected by PrimeObjects
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7842 on June 12, 2025 00:30.