Closed gaozh424 closed 6 months ago
I suggest deploying your project in a country where Gemini Pro API is accessible, or adding generativelanguage.googleapis.com to the proxy whitelist in your router, such as in OpenWrt.
This project utilizes the Google Genai SDK, and this feature cannot be implemented until the SDK supports proxy configuration.
Thank you very much for your reply. I will try to modify the code in handler.go and recompile to see if it works, or could you add an additional parameter?
Thank you very much for your reply. I will try to modify the code in handler.go and recompile to see if it works, or could you add an additional parameter?
Proxy support will not be considered until the issue with Google SDK is confirmed as closed.
You can refer to here to configure proxy in docker container
Hi, Thank you for your contribution and sharing, it's really great. Does this project support accessing the Gemini API through a proxy server? I am unable to access Google from my region.