Skip to content
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

fix proxy setting #8

Closed
wants to merge 2 commits into from
Closed

Conversation

Oooops-404error
Copy link

This pull request includes updates to the package.json file, enhancements to the configuration management, and modifications to the OpenAI utility to support proxy settings.

Package Updates:

  • package.json: Updated the version from 0.0.6 to 0.0.7 and added https-proxy-agent as a new dependency. [1] [2]

Configuration Management Enhancements:

  • src/config.ts: Imported Agent from https and HttpsProxyAgent from https-proxy-agent, and added a new method getProxyAgent to retrieve the proxy configuration. [1] [2]

OpenAI Utility Modifications:

  • src/openai-utils.ts: Imported Agent from http and updated the getOpenAIConfig function to include the proxy agent in the configuration if available. [1] [2] [3]

fix #7

@Oooops-404error
Copy link
Author

If a user configures an HTTP proxy address within VSCode, it is generally presumed that the user intends for all VSCode-related activities to route through this specified address.

@Oooops-404error Oooops-404error closed this by deleting the head repository Nov 15, 2024
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.

an unexpected error occurred
1 participant