Skip to content
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

设置UPLOAD_TYPE=R2不起作用 #537

Open
Zhuying-Net opened this issue Oct 23, 2024 · 2 comments
Open

设置UPLOAD_TYPE=R2不起作用 #537

Zhuying-Net opened this issue Oct 23, 2024 · 2 comments

Comments

@Zhuying-Net
Copy link

配置了R2,在不配置OPENAI_API_BASE_URL的情况下,上传文件显示状态为成功。
但是如果配置了OPENAI_API_BASE_URL和R2,那么上传文件的请求地址就会变成OPENAI_API_BASE_URL,并不会上传到R2。我尝试设置UPLOAD_TYPE=R2,但是完全不起作用

@Dooy
Copy link
Owner

Dooy commented Oct 24, 2024

相应的R2 有设置了没?
要设置了 才会过去

@Zhuying-Net
Copy link
Author

相应的R2 有设置了没? 要设置了 才会过去

R2_DOMAIN=
R2_BUCKET_NAME=
R2_ACCOUNT_ID=
R2_KEY_ID=
R2_KEY_SECRET=

按照要求,已经设置了以上的信息,并且在没有配置OPENAI_API_BASE_URL的情况下测试通过,配置了OPENAI_API_BASE_URL就上传不了

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

No branches or pull requests

2 participants