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

梯子能登录gemini,写入config.json连不上,且每次启动config.json会重置! #9

Open
bluetyhyhf opened this issue Feb 7, 2024 · 2 comments

Comments

@bluetyhyhf
Copy link

Error occurred when executing Gemini_API_S_Zho:

400 POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent?%24alt=json%3Benum-encoding%3Dint: API key expired. Please renew the API key. [{'@type': 'type.googleapis.com/google.rpc.ErrorInfo', 'reason': 'API_KEY_INVALID', 'domain': 'googleapis.com', 'metadata': {'service': 'generativelanguage.googleapis.com'}}],用梯子登录gemini可以,但是把api写入config.json里,每次重启都会重置config.json文件,希望大佬解决下,谢谢!

@Elminsst
Copy link

Elminsst commented Apr 2, 2024

一样的问题,你是不是用的秋叶启动器?
看一下这个选项
d3f14ad9ec31831365621e02fbf347d
我这里选好就解决了

@ziziran97
Copy link

一样的问题,你是不是用的秋叶启动器? 看一下这个选项 d3f14ad9ec31831365621e02fbf347d 我这里选好就解决了

奇怪,我这一项时开的, 但是还是抱错。

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

3 participants