8000 feat(doubao): support upload by anobodys · Pull Request #8302 · AlistGo/alist · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(doubao): support upload #8302

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

Merged
merged 3 commits into from
Apr 12, 2025
Merged

Conversation

anobodys
Copy link
Contributor
@anobodys anobodys commented Apr 5, 2025

为 豆包驱动 添加了上传功能,默认三线程。同时修复了下载接口的参数传值。

注意⚠️:目前豆包上传的图片文件,返回的下载地址都是压缩后的,并非源文件

注意⚠️:302模式下,使用获取的下载地址会出现文件名被编码,与源文件名对不上。使用本机代理可解决

@anobodys
Copy link
Contributor Author
anobodys commented Apr 9, 2025

修复了 #8335 提出的文件列表获取不完整

@xhofe xhofe requested a review from Copilot April 12, 2025 09:03
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

drivers/doubao/driver.go:124

  • Ensure that r.Data.FileUrls contains at least one element before accessing its first element to prevent a potential index out of range error.
downloadUrl = r.Data.FileUrls[0].MainURL

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@xhofe xhofe merged commit f0b1aea into AlistGo:main Apr 12, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0