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

got error if set env OPENAI_API_BASE_URL #368

Open
5 tasks done
luxurine opened this issue Apr 15, 2023 · 0 comments
Open
5 tasks done

got error if set env OPENAI_API_BASE_URL #368

luxurine opened this issue Apr 15, 2023 · 0 comments
Labels
docker question Further information is requested

Comments

@luxurine
Copy link

luxurine commented Apr 15, 2023

Describe the bug

If set OPENAI_API_BASE_URL explicitly, will got following error message:

➜  ~ docker logs -f chatgpt-demo
sed: bad option in substitution expression
sed: bad option in substitution expression
sed: bad option in substitution expression
Starting service...
Running script...

Reproduction

docker run --name=chatgpt-demo -e OPENAI_API_KEY=sk-xxx -e OPENAI_API_BASE_URL=https://api.openai.com -p 3000:3000 -d ddiu8081/chatgpt-demo:latest

System Info

just use docker run

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@luxurine luxurine changed the title got error if setting env OPENAI_API_BASE_URL got error if set env OPENAI_API_BASE_URL Apr 15, 2023
@ddiu8081 ddiu8081 added question Further information is requested docker labels Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants