You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two ways to use GEMINI API_BASE_URL:
The first is that the server requests the internal proxy, that is, the server will read API_BASE_URL and use the api path instead of the original google api path.
The second is the front-end use, but this use needs to be activated when the Gemini api key is filled in the front-end page, that is, the front-end api forwarding will not be used in the scenario of using the server api.
If you want to use the proxy api when asking the server to request data, then you can ignore the API proxy link setting on the front-end page.
Bot detected the issue body's language is not English, translate it automatically.
Thanks for the solution. Also, have you considered adding multi-key polling/load balancing functions? The free quota for a single key may not be enough.
Problem Description
关于环境变量中的GEMINI_API_BASE_URL,如果想使用别的代理每次得去设置环境变量然后重新部署,且前端页面是不可编辑的,有点小麻烦。我知道佬是为了避免服务端代理 url 泄漏,不会覆盖前端页面中的链接。
Solution Description
前端界面中默认仍然是显示原本的,但是可以自定义编辑,数据保存在本地或者说通过KV去建立ACCESS_PASSWORD和GEMINI_API_BASE_URL甚至是GEMINI_API_KEY的绑定。再次感谢大佬开源
Alternatives Considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: