Skip to content

fix: ensure proxy support and bump anthropic dependency#698

Open
jinzhuer wants to merge 2 commits intobespokelabsai:mainfrom
jinzhuer:fix/anthropic-proxy-not-respected
Open

fix: ensure proxy support and bump anthropic dependency#698
jinzhuer wants to merge 2 commits intobespokelabsai:mainfrom
jinzhuer:fix/anthropic-proxy-not-respected

Conversation

@jinzhuer
Copy link
Copy Markdown

@jinzhuer jinzhuer commented Oct 21, 2025

Root cause

  1. Curator’s aiohttp.ClientSession was created without trust_env=True, so it ignored HTTP(S)_PROXY.

  2. Older anthropic SDK versions didn’t provide robust proxy support, so Anthropic calls didn’t honor the proxy.

Changes

  1. Injected trust_env=True) when creating the aiohttp.ClientSession, ensuring system proxy variables (HTTP(S)_PROXY, ALL_PROXY) are respected.

  2. Bumped the anthropic dependency to a newer version that has native proxy support.

@jinzhuer
Copy link
Copy Markdown
Author

fix issue #699

@jinzhuer jinzhuer changed the title fix: ensure proxy support via httpx client and bump anthropic dependency fix: ensure proxy support and bump anthropic dependency Oct 21, 2025
@jinzhuer
Copy link
Copy Markdown
Author

@kartik4949 this PR fixes Curator ignoring system proxies by enabling trust_env=True on the aiohttp.ClientSession and bumps the anthropic SDK. No behavioral change except honoring HTTP(S)_PROXY.
Can you sanity-check the client init and, if it looks good, approve and plan a patch release? PR: #698 (closes #699).

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