Skip to content

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

Open
lingchuL wants to merge 4 commits intomicrosoft:mainfrom
lingchuL:main
Open

Add HTTP_PROXY variable and proxy process when access endpoints' api services#55
lingchuL wants to merge 4 commits intomicrosoft:mainfrom
lingchuL:main

Conversation

@lingchuL
Copy link

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
Copy link
Author

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

@lingchuL
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant