-
Notifications
You must be signed in to change notification settings - Fork 857
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
[BUG] Gemini 在 Cloudflare Workers 上无法请求 #264
Comments
没有办法呢,Cloudflare workers请求Gemini就是会报错,只能说部署在vercel或者其他平台 |
你可以试一下 cloudflare的ai网关 https://developers.cloudflare.com/ai-gateway/providers/google-ai-studio/ |
我用Gemini遇到了这个报错:
我也是部署在Cloudflare workers,版本是:1cd65d7(9/4/2024, 7:29:31 AM) 这应该和楼主描述的”当前地区不可用“不是同一个问题吧? |
GOOGLE_COMPLETIONS_API = "https://generativelanguage.googleapis.com/v1beta/models/" GOOGLE_COMPLETIONS_API = "https://developers.cloudflare.com/ai-gateway/providers/google-ai-studio/" |
大佬,问一下哈,Gemini问了问题后回复在当前地区不可用怎么办啊,谢谢
The text was updated successfully, but these errors were encountered: