mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-12 22:12:37 +00:00
`_build_async_client` called `_get_client_params()`, which under `interceptor` constructs a sync `httpx.Client` and stores it under `http_client`. The async builder then immediately overwrote that key with an `httpx.AsyncClient`, leaving the sync client allocated and unclosed. Add an `include_http_client` flag to `_get_client_params` (defaults True for the sync path); the async builder passes False so no sync client is constructed and only the async one is attached.