TypeChat icon indicating copy to clipboard operation
TypeChat copied to clipboard

Add HTTP_PROXY variable and proxy process when access endpoints' api services

Open lingchuL opened this issue 2 years ago • 2 comments

Some area and use cases can't access to endpoints' services directly, like OpenAI's api. I add some process to let the code read HTTP_PROXY enviroment variable from .env file first (if it was set), and use proxy to access endpoints' services and api, when createLanguageModel.

lingchuL avatar Jul 25 '23 06:07 lingchuL

@microsoft-github-policy-service agree company="ShelterFuture"

lingchuL avatar Jul 25 '23 06:07 lingchuL

@microsoft-github-policy-service agree company="ShelterFuture"

lingchuL avatar Jul 25 '23 07:07 lingchuL