* feat(http): implement proxy list support with fallback mechanism
- Add proxies parameter to request() function for proxy list support
- Maintain backward compatibility with single proxy parameter
- Implement proxy fallback logic that tries each proxy in order
- Update provider base classes to use proxy lists directly
- Add comprehensive tests for proxy list functionality
- Support None in proxy list to represent direct connection
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* fix(http): handle empty proxy list edge case and remove duplicate function definition
- Fix empty proxy list to default to direct connection
- Remove duplicate function definition in request()
- Add test case for empty proxy list scenario
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* fix(tests): correct provider proxy list test mocking
- Fix provider test mocking to use HttpResponse objects
- All proxy list tests now pass correctly
- Provider integration tests verify proxy list functionality
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* fix(lint): resolve flake8 issues - remove whitespace and fix indentation
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* refactor(http): remove proxy parameter and implement ProxiesHandler
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* refactor(http): implement ProxiesHandler based on ProxyHandler with proxy_open override
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* refactor(http): remove proxy wrapper class and string compatibility per feedback
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* refactor(http): implement ProxiesHandler with proxy_open override as requested
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
* refactor(http): update endpoint URLs to use HTTP instead of HTTPS for testing
* feat: Add support for proxy settings in configuration
- Introduced a new "proxy" property in the schema to allow HTTP proxy settings in various formats.
- Updated tests to validate the handling of proxy settings, including special values and array formats.
- Enhanced environment variable loading to support proxy configurations, ensuring precedence rules are respected.
- Added tests for multi-provider configurations with independent proxy settings and global proxy overrides.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com>
Co-authored-by: New Future <NewFuture@users.noreply.github.com>