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.05k stars 151 forks source link

feat: support different api url. #143

Open leauny opened 8 months ago

leauny commented 8 months ago

support different api url by set OPENAI_BASE_URL environment variable.

skoenig commented 3 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.