-
Notifications
You must be signed in to change notification settings - Fork 94
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 API似乎能配置反代了。 #260
Comments
工作量有点多,而且没几个人用,先暂时不加了 |
有空再加也行。 |
反代没有卵用,只对generate_content函数生效,不对upload_file函数生效。你若像附带文件。则无效 |
直接通过 workers 或者其他方式反代整个 api 域名,这样也是可以的,反代的函数有效性主要取决于反代方式 |
google-gemini/generative-ai-python#610 (comment) |
有用是有用,但是我的应用场景是作为一个项目的模块扩展,全局代理让我的项目也走代理了不好;若他原生不支持代理,那就只能以独立服务的形式部署了 |
google-gemini/generative-ai-python#188 (comment)
大哥支持一下吧,能搭建反代的平台很多,但能搭建代理的就少些。
实际上让API与形成绑定关系再使用的话,貌似能绕过日请求限制和分钟请求限制。
The text was updated successfully, but these errors were encountered: