peterdemin / openai-cli

Command-line client for OpenAI APIs
MIT License
155 stars 30 forks source link

Support non-OpenAI.com instances feature request #5

Closed UnoSD closed 1 year ago

UnoSD commented 1 year ago

I would like to suggest supporting also other instances (E.G. Azure OpenAI). It may be just as simple as an envvar that can set the base URL.

Thank you.

peterdemin commented 1 year ago

I don't have access to other APIs, but I would be happy to review a PR. URL override through env var is fine.

UnoSD commented 1 year ago

I will give it a go, although Python is not really my element

peterdemin commented 1 year ago

Resolved in #6

peterdemin commented 1 year ago

Thanks! The changes are in the 0.0.3 release!