-
Notifications
You must be signed in to change notification settings - Fork 251
gemini-1.5-pro出现API错误 #30
Comments
gemini 1.5有API可以用了吗?我看好像还只能在谷歌的网页上用 |
还是原来的api,但使用的模型直接默认就改为了1.5,api接口也由原来的.../v1/...改为了.../v1beta/...。 |
curl https://generativelanguage.googleapis.com/v1beta/models?key=$API_KEY |
1.5还不能用 |
谢谢你 |
遇到相同问题,我可以在gemini中强制使用1.0的model吗?或者大概什么时候可以实现支持到1.5呢? |
已经申请到gemini-1.5-pro使用资格几天了,没想到在今天使用ChatGemini 时,提示错误:[GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1/models/gemini-pro:streamGenerateContent?alt=sse: [403 ] Method doesn't allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API。
到aistudio.google.com去查询,不知道什么时候已将我使用的模型默认改为了gemini-1.5-pro,在aistudio.google.com的API管理页面上看到测试接口地址改为:https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=YOUR_API_KEY。
本人是通过docker部署的ChatGemini可否通过REACT_APP_GEMINI_API_URL配置项来修改接口地址呢?
同时在此谢谢开发者的无私贡献。
The text was updated successfully, but these errors were encountered: