Closed siyehua closed 9 months ago
看 这里 自己部署一个gemini proxy,然后把部署好的域名填到API_BASE_URL
,填好环境变量后要redeploy一下才生效
我就是用了你说的这个,在设置里加了:
然后重新构建,构建之后提示:
然后我看请求也没发错,就是我设置的这个:
@babaohuang
我就是用了你说的这个,在设置里加了: 然后重新构建,构建之后提示:
然后我看请求也没发错,就是我设置的这个:
不是这样,你看一下文档的说明 ,是要在vercel上部署另外一个proxy,然后API_BASE_URL
填入这个部署好的proxy的域名。
What operating system are you using?
Linux
What browser are you using?
Chrome
Describe the bug
我使用vercel 创建好之后,使用会提示: 然后我在自己的仓库里,新建了一个文件
.env
,在里面写:User location is not supported for the API use.API_BASE_URL=https://google-genmini-pro.vercel.app/
然后回到 vercel ,发现它自己重新构建了,构建完成后,仍然提示:User location is not supported for the API use.What prompt did you enter?
No response
Console Logs
No response
Participation