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
feat(client): forward max_retries through Client/ClientV2 constructors (#779)
* feat(client): forward max_retries through Client/ClientV2 constructors
The base BaseCohere/AsyncBaseCohere constructors accept `max_retries`,
but the hand-maintained Client, AsyncClient, ClientV2 and AsyncClientV2
override constructors never exposed it, so it could not be set at the
client level (only per-request via request_options).
Thread `max_retries: Optional[int] = None` through all four override
constructors, forwarding to the respective super().__init__. The None
default preserves the existing behavior (base applies its default of 2).
* chore: bump version 7.0.4 -> 7.0.5
---------
Co-authored-by: jsklan <jsklan.development@gmail.com>
0 commit comments