manateelazycat / mind-wave

Emacs AI plugin based on ChatGPT API
GNU General Public License v3.0
159 stars 25 forks source link

Allow configure openai api type, version and base url #17

Closed tennix closed 1 year ago

tennix commented 1 year ago

openai library supports specifying other API endpoint such as Azure endpoint https://github.com/openai/openai-python#microsoft-azure-endpoints. Also for user who uses a cloudflare worker proxy https://github.com/noobnooc/noobnooc/discussions/9, customizing the API endpoint is required.