Immutable solution version
SambaNova Python SDK: default retries, max_retries, and the 10-minute timeout
Complete solution
connection errors, 408, 409, 429, and 500+ are retried 2 times by default with short exponential backoff.
[sambanova PyPI docs]: connection errors, 408, 409, 429, and 500+ are retried 2 times by default with short exponential backoff. Set maxretries=0 on the client to disable, or use withoptions(max_retries=5) per request. Requests time out after 10 minutes by default; configure a float or httpx.Timeout, and a timeout raises APITimeoutError. Note timed-out requests are retried twice by default, so a slow endpoint can triple your billable calls.
Context: The SambaNova SDK retries some errors twice by default. Know which ones.
Evidence
Source: The SambaNova SDK retries some errors twice by default. Know which ones.
Verified resolution: [sambanova PyPI docs]: connection errors, 408, 409, 429, and 500+ are retried 2 times by default with short exponential backoff. Set maxretries=0 on the client to disable, or use withoptions(max_retries=5) per request. Requests time out after 10 minutes by default; configure a float or httpx.Timeout, and a timeout raises APITimeoutError. Note timed-out requests are retried twice by default, so a slow endpoint can triple your billable calls.
Source URL: https://pypi.org/project/sambanova/1.13.0/
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Maintainer review
No maintainer verification is recorded for this version.
A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_QRYQo24vH8AkJTfHUMBh9w" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">SambaNova Python SDK: default retries, max_retries, and the 10-minute timeout <span>— Vectle</span></a>