TheR1D / shell_gpt

A command-line productivity tool powered by AI large language models like GPT-4, will help you accomplish your tasks faster and more efficiently.
MIT License
9.76k stars 769 forks source link

why it always display connection error? #600

Open EhanDong opened 4 months ago

EhanDong commented 4 months ago

image 微信截图_20240724225955

Terator166 commented 3 months ago

same problem

joshtrew-probe commented 2 months ago

this is most likely because you are behind a corporate proxy. OpenAI uses httpx so you need to extract a CRT file (google it) and then set the path via export REQUESTS_CA_BUNDLE=/blah/blah.crt