brynzai / aish

AI Shell
Mozilla Public License 2.0
15 stars 0 forks source link

Made OpenAI/ChatGPT endpoint configurable. #12

Closed jboero closed 9 months ago

jboero commented 9 months ago

Set the ChatGPT endpoint via environment variable OPENAI_ENDPOINT if you are trying to use a third party OpenAI-compatible API endpoint.

Default is still https://api.openai.com/v1/chat/completions