Open GreysonHYH opened 5 months ago
Linux
Chrome
将.env.example改为.env,然后粘贴我的Gemini apikey和在vercel上部署的base url.
然后npm run dev,报错Error [GoogleGenerativeAI Error]: Error fetching from [404 Not Found]
这是请求信息:
我的apikey和baseurl是没有问题的,因为可以部署到Vercel上正常使用,但是在本地不行。
No response
the same.
@GreysonHYH @zsinba 在中國這些不支持Google Gemini的國家,本地部署項目,記得科學上網才行!
我这边的情况是如果网咯改成HOST,这个问题就能解决。不知道除了3000端口,还有其他什么端口需要映射?
What operating system are you using?
Linux
What browser are you using?
Chrome
Describe the bug
将.env.example改为.env,然后粘贴我的Gemini apikey和在vercel上部署的base url.![image](https://github.com/babaohuang/GeminiProChat/assets/105972575/92585209-d181-4e91-9582-13c8cc3560b0)
然后npm run dev,报错Error [GoogleGenerativeAI Error]: Error fetching from [404 Not Found]![image](https://github.com/babaohuang/GeminiProChat/assets/105972575/28c72269-91b2-4e96-9561-54f3b13f9f70)
这是请求信息:![image](https://github.com/babaohuang/GeminiProChat/assets/105972575/8c6e3157-e3c5-4574-b2b7-4c90a6fda307)
我的apikey和baseurl是没有问题的,因为可以部署到Vercel上正常使用,但是在本地不行。
What prompt did you enter?
No response
Console Logs
Participation