QAnything icon indicating copy to clipboard operation
QAnything copied to clipboard

[BUG] 调用openai 的api 。Connection error.

Open sawyerfeng opened this issue 11 months ago • 6 comments

是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?

  • [X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?

  • [X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

当我部署好openai的apikey后,询问返回Connection error.盲猜是要访问openai的服务器但是没有代理,如何在该代码上正确配置代理呢

期望行为 | Expected Behavior

我想成功联通openai服务器,返回结果

运行环境 | Environment

- OS: ubuntu
- NVIDIA Driver:535.104.05
- CUDA:12.2
- Docker Compose:1.29.2
- NVIDIA GPU Memory: 24G

QAnything日志 | QAnything logs

复现方法 | Steps To Reproduce

sudo bash ./run.sh -c cloud -i 0 -b default # gpu id 0

备注 | Anything else?

sawyerfeng avatar Feb 27 '24 08:02 sawyerfeng