Skip to content

feat: include HttpsProxyAgent on all OpenAI instances #839

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

oscarsalvador
Copy link

What: apply the proxy configuration to each OpenAI instance throughout the codebase following the solution in #775
Why: detected timeouts and connection failures behind corporate proxy
How: getting proxy config from env, and in case any is picked up, inject it into OpenAI instances using HttpsProxyAgent

I have read the CLA Document and I hereby sign the CLA

Copy link

github-actions bot commented May 6, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@oscarsalvador
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request May 6, 2025
@oscarsalvador
Copy link
Author

Hi, I've updated the request with the latest changes from main, fixed the Prettier issue, and a line in responses.ts that was causing problems with the tests

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