fileConfig "default" section does not apply to "agents" endpoints? #9360
-
What happened?When configuring a fileConfig to restrict file limits and sizes, the The documentation states:
However, the agents endpoint does not seem to use the values defined in If this is intended behavior, can a note please be added to the documentation to indicate that? Version Information0.8.0-rc1 Steps to Reproduce
EXPECTED: LibreChat should not allow uploads outside of the configured fileConfig limits. Specifying the fileConfig as:
resolved the issue. What browsers are you seeing the problem on?Firefox Relevant log outputNo relevant log output. ScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks for reporting this @georgenmatthew! The fileConfig:
endpoints:
agents:
fileLimit: 5
fileSizeLimit: 10
totalSizeLimit: 20 I'll make sure the documentation clarifies that |
Beta Was this translation helpful? Give feedback.
Thanks for reporting this @georgenmatthew!
The
agents
endpoint is hardcoded to use a similar configuration asassistants
, notdefault
. Your workaround is the correct solution:I'll make sure the documentation clarifies that
agents
(likeassistants
) has its own predefined configuration and doesn't fall back todefault
. Only endpoints without explicit configuration use thedefault
settings.