[Enhancement]: Support for Path-Style S3 Addressing #9258
VoigtSebastian
started this conversation in
Feature Requests & Suggestions
Replies: 2 comments 2 replies
-
fyi: I'm working on it. It is more work than initially assumed because the URL parsing to download from S3 breaks with path-style addressing. But still nothing mayor. |
Beta Was this translation helpful? Give feedback.
1 reply
-
+1, for my setup I also need the path style. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What features would you like to see added?
The current S3 integration in LibreChat only supports virtual-host–style addressing.
However, some object storage providers do not support virtual-host–style addressing.
As a result, users who rely on these providers cannot use the integration as it stands.
More details
Proposed Solution
The AWS SDK for JavaScript already supports this via the
s3ForcePathStyle
configuration option.By exposing this flag in LibreChat’s configuration, the integration could support both styles and remain compatible with a broader set of storage providers.
I believe this should only require changes in the s3 initialization with the aforementioned configuration flag.
Additional Notes
This should be a relatively small change.
I’m happy to contribute a PR if time allows (though I’m still new to TS/JS development).
If someone more experienced wants to take it on, that would be fantastic too.
Which components are impacted by your request?
Other
Pictures
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions