Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

Add basePath configuration option to support OpenAI mirror

Open try-to-fly opened this issue 2 years ago • 3 comments

This pull request is aimed at adding a new configuration option, basePath, to the project. This is motivated by the need to support an OpenAI mirror site in China. (such as https://api2d.com/)

The basePath will allow users in China to conveniently redirect their requests to a local mirror, thus significantly improving access speed and reliability.

Please consider integrating this change to enhance the user experience for a large number of users in China.

try-to-fly avatar Jun 06 '23 08:06 try-to-fly

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 06 '23 08:06 CLAassistant

@try-to-fly can you add the same to OpenAI node as well?

HenryHengZJ avatar Jun 07 '23 09:06 HenryHengZJ

@try-to-fly can you add the same to OpenAI node as well?

I have also added the basePath setting to the OpenAI_LLMs node。

try-to-fly avatar Jun 07 '23 11:06 try-to-fly

thanks @try-to-fly!

HenryHengZJ avatar Jun 07 '23 20:06 HenryHengZJ