You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add shared HTTP client with connection pooling (#41)
* Add shared HTTP client with connection pooling
Previously every request created a new reqwest::Client via Client::new(),
which meant zero connection reuse. Now ChatClient, EmbeddingsClient,
FilesClient, and BatchClient all share a pooled reqwest::Client configured
with pool_max_idle_per_host=256 and pool_idle_timeout=300s.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Bump version to 0.16.0
Breaking change: added http_client field to ChatClient, EmbeddingsClient,
FilesClient, and BatchClient.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments