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

feat: add proxy and SOCKS5 support to HTTP Anthropic client #213

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Conversation

appleboy
Copy link
Owner

  • Add support for proxy URL, SOCKS URL, and skip verify options in the Anthropic client configuration
  • Introduce DefaultHeaderTransport to add custom headers to HTTP requests
  • Add new HTTP transport configuration for handling proxy and SOCKS URLs
  • Update the Anthropic client initialization to use the new HTTP client with custom transport
  • Add WithProxyURL, WithSocksURL, and WithSkipVerify options for configuring the Anthropic client

…ration

- Add support for proxy URL, SOCKS URL, and skip verify options in the Anthropic client configuration
- Introduce `DefaultHeaderTransport` to add custom headers to HTTP requests
- Add new HTTP transport configuration for handling proxy and SOCKS URLs
- Update the Anthropic client initialization to use the new HTTP client with custom transport
- Add `WithProxyURL`, `WithSocksURL`, and `WithSkipVerify` options for configuring the Anthropic client

Signed-off-by: appleboy <appleboy.tw@gmail.com>
@appleboy appleboy changed the title feat: add proxy config and support to Anthropic client feat: add proxy and SOCKS5 support to HTTP Anthropic client Dec 19, 2024
@appleboy appleboy merged commit b9d7f8a into main Dec 19, 2024
12 checks passed
@appleboy appleboy deleted the proxy branch December 19, 2024 01:42
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