Skip to content

Conversation

@ljun20160606
Copy link

Fixes an issue where the http_client parameter was not being passed through when copying AnthropicBedrock and AsyncAnthropicBedrock instances. This caused the copied client to create a new http_client instead of reusing the existing one.

Adds comprehensive test coverage for copy() and with_options() methods including:

  • Basic copy functionality
  • AWS credential overrides
  • Default options (max_retries, timeout)
  • Default headers and query parameters
  • set_default_headers and set_default_query behavior

🤖 Generated with Claude Code

Fixes an issue where the http_client parameter was not being passed through
when copying AnthropicBedrock and AsyncAnthropicBedrock instances. This caused
the copied client to create a new http_client instead of reusing the existing one.

Adds comprehensive test coverage for copy() and with_options() methods including:
- Basic copy functionality
- AWS credential overrides
- Default options (max_retries, timeout)
- Default headers and query parameters
- set_default_headers and set_default_query behavior

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@ljun20160606 ljun20160606 requested a review from a team as a code owner October 31, 2025 13:45
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