-
-
Couldn't load subscription status.
- Fork 13.9k
⚡️ perf: support to use signedUrl for S3 if bucket is not public-read #4254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@vual is attempting to deploy a commit to the LobeChat Community Team on Vercel. A member of the Team first needs to authorize it. |
|
👍 @vual Thank you for raising your pull request and contributing to our Community |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #4254 +/- ##
==========================================
- Coverage 92.29% 92.03% -0.27%
==========================================
Files 496 497 +1
Lines 36194 36334 +140
Branches 2330 2182 -148
==========================================
+ Hits 33407 33441 +34
- Misses 2787 2893 +106
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是否有必要允许设置自定义的默认有效期?
|
相关问题: #3753 |
我觉得是有必要的,这个参数是可选,没填默认2小时(这个2小时可以斟酌下,是否改成其它值),但可能某些文件,比如图片,我可能想让他可预览的时间长一些,就可以配置时间长点。 |
I think it is necessary. This parameter is optional. If not filled in, the default is 2 hours (you can consider whether to change this 2 hours to other values), but I may want some files, such as pictures, to be previewable. The longer the time, the longer the configuration time can be. |
|
ci 挂了,得修下测试
那要不加一个 S3 环境变量来配置这个吧? |
ci is down, I need to fix it and test it.
How about adding an S3 environment variable to configure this? |
…enerated each time,fix test ts,add param to defined s3 preview url expires in.
|
|
|
ci 还是挂的呀? |
Is ci still down? |
抱歉,现在可以了。 |
Sorry, that's OK now. |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
❤️ Great PR @vual ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
|
🎉 This PR is included in version 1.26.18 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
请问,如果启用这个特性,当开始对话时上传的图片(文件链接)到期后,是否就无法继续这个对话也无法在另外的对话中添加这张图片?是否需要重新上传文件以“续期”? |
I would like to ask, if this feature is enabled, will it be impossible to continue the conversation after the image (file link) uploaded when starting the conversation expires (large models cannot read images from expired links)? Do I need to re-upload the file to "renew"? |
|
@Sun-drenched 不是,仍然继续可用的 |
@Sun-drenched No, it will still be available |
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
当未把s3存储桶设成公共读时,需要每次生成带签名的预览地址,默认有效期2小时
📝 补充信息 | Additional Information