ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Bug] AZURE_API_KEY wasn't handled correctly

Open
#5,317 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### πŸ“¦ Deployment Method

Docker

### πŸ“Œ Version

v2.14.2

### πŸ’» Operating System

Other

### πŸ“Œ System Version

x

### 🌐 Browser

Chrome

### πŸ“Œ Browser Version

x

### πŸ› Bug Description

After updating the yidadaa/chatgpt-next-web version to the latest, the deployed website unable to work. I use the same docker command as before. It seems that the AZURE_API_KEY wasn't handled correctly in the project. Could you help investigate? Thanks!

My command:

```bash
docker run -d -p 3000:3000 -e CODE=mycode -e AZURE_URL=https://xxxxx.openai.azure.com/openai/ -e AZURE_API_KEY=mykey -e AZURE_API_VERSION=2024-06-01 yidadaa/chatgpt-next-web
```

the error:

image

### πŸ“· Recurrence Steps

_No response_

### 🚦 Expected Behavior

_No response_

### πŸ“ Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.