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] The openai agent parameters in the Docker startup method cannot be switched to the official API direct connection mode. #2569

Open
osbi-code opened this issue May 20, 2024 · 1 comment
Labels
🐛 Bug Something isn't working | 缺陷

Comments

@osbi-code
Copy link

💻 Operating System

Ubuntu

📦 Environment

Docker

🌐 Browser

Chrome

🐛 Bug Description

After I started Docker with the following command (specifying the openai apikey and proxy in the parameters):

sudo docker run -d -p 22004:3210 \
  -e ACCESS_CODE=XXXXXX\
  -e OPENAI_API_KEY=sk-62yXKMz9LiXXXXXXXX \
  -e OPENAI_PROXY_URL=https://XXXXXX/v1 \
  --restart always \
  --name lobe-chat_demo \
  lobehub/lobe-chat

I later obtained the official direct connection key. I then set the key in the web interface, leaving the proxy field empty. However, the system kept prompting that the key does not exist.

🚦 Expected Behavior

No response

📷 Recurrence Steps

No response

📝 Additional Information

No response

@osbi-code osbi-code added the 🐛 Bug Something isn't working | 缺陷 label May 20, 2024
@lobehubbot
Copy link
Member

👀 @zhoufann9188

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

2 participants