TypeChat
TypeChat copied to clipboard
Add HTTP_PROXY variable and proxy process when access endpoints' api services
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.
@microsoft-github-policy-service agree company="ShelterFuture"
@microsoft-github-policy-service agree company="ShelterFuture"