kharvd / gpt-cli

Command-line interface for ChatGPT, Claude and Bard
MIT License
544 stars 70 forks source link

Add Base URL option #42

Closed alexkreidler closed 2 months ago

alexkreidler commented 1 year ago

There are various open source models and hosted LLMOps tools that are compatible with the OpenAI API, like LocalAI and Helicone. It would be great to be able to use the OPENAI_API_BASE environment variable or the config file to use gpt-cli with these systems!

kharvd commented 11 months ago

Cool idea! I might get to it at some point, but PRs are welcome in the meantime