0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.15k stars 159 forks source link

feat: support different api url. #143

Open leauny opened 1 year ago

leauny commented 1 year ago

support different api url by set OPENAI_BASE_URL environment variable.

skoenig commented 7 months ago

I think supporting different API URLs is a great idea. It would expand this CLI tool's versatility and enable usage with various language models and providers, over libraries like https://github.com/xtekky/gpt4free.