openai-chat-api-workflow icon indicating copy to clipboard operation
openai-chat-api-workflow copied to clipboard

Request `API_BASE` environment variables setting support

Open lonelygo opened this issue 1 year ago • 3 comments

For some reason, the default url https://api.openai.com/v1 needs to be changed to a custom URL.

lonelygo avatar Jun 01 '23 03:06 lonelygo

I see. It could be useful for people interested in using the Azure OpenAI API, for example. I'll look into adding support for setting the API_BASE environment variable soon. Thank you for bringing this to my attention!

yohasebe avatar Jun 01 '23 03:06 yohasebe

Thank you for your prompt reply. Currently, I modified the target_url in the opanai.rb to use my own URL.

lonelygo avatar Jun 01 '23 06:06 lonelygo

I uploaded 1.8.1 with the "Base URL" option. Thanks again for your suggestion!

yohasebe avatar Jun 05 '23 07:06 yohasebe