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

[Bug] Environment Variables does not take effect after vercel deployment #3694

Open
SkywalkerJi opened this issue Dec 29, 2023 · 8 comments
Open

Comments

@SkywalkerJi
Copy link

To Reproduce
Just refer to the deployment process in the readme

Screenshots
image

image

Bugs

No api key,no password code.Need to re-enter on the web page.

@shabby2333
Copy link

rebuild after setting enviornment variables.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


rebuild after setting environment variables.

@bios99
Copy link

bios99 commented Jan 3, 2024

我也遇到这个问题,

  • OpenAI API我放了两个key轮巡
  • 环境变量又增加了个Gemini的key
  • 添加了Base_URL的环境变量
    重新部署后

然后就找不到key,各种报错

问题:

  • 同时有OpenAI和Google的key,后台的环境变量该如何设置?
  • 是不是两种API的接口地址都要设置?
  • 如果OpenAI的key里,GPT3.5和4,同时 用,会有什么问题?

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


I also encountered this problem,

  • OpenAI API I put two keys to patrol
  • A Gemini key has been added to the environment variables
  • Added environment variable for Base_URL
    After Redeployment

Then the key cannot be found and various errors are reported.

question:

  • I have both OpenAI and Google keys. How to set the background environment variables?
  • Do the interface addresses of both APIs need to be set?
  • What problems will occur if GPT3.5 and 4 are used at the same time in the OpenAI key?

@SkywalkerJi
Copy link
Author

rebuild after setting enviornment variables.

No change, still the same

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


rebuild after setting environment variables.
No change, still the same

@DreamofInfinity1
Copy link

@bios99 请问您如何解决的?我也遇到相同问题,同时填入openai和gemini的key和代理地址,貌似默认使用openai的key,此时如何切换或使用gemini的key

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


@bios99 How did you solve it? I also encountered the same problem. I filled in the keys and proxy addresses of openai and gemini at the same time. It seems that the openai key is used by default. How to switch or use the gemini key at this time?

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

5 participants