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

fixed openai base url if empty #2389

Merged
merged 1 commit into from
Jul 16, 2023

Conversation

MarkShawn2020
Copy link
Contributor

Use || instead of ?? when handling varaibles in process.env would be better.

Otherwise, when BASE_URL = '', would catch the error that cannot connect to openai.

@Yidadaa
Copy link
Collaborator

Yidadaa commented Jul 14, 2023

请修改为英文注释,然后我会合入此代码。

@Issues-translate-bot
Copy link

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


Please edit the comments in English and I will incorporate this code.

@Yidadaa Yidadaa merged commit e3c279b into ChatGPTNextWeb:main Jul 16, 2023
alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this pull request Sep 21, 2023
…-openai-url

fixed openai base url if empty
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
…-openai-url

fixed openai base url if empty
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

Successfully merging this pull request may close these issues.

3 participants