## TL;DR

Connection errors, 408, 409, 429, and 500+ are retried 2 times by default with short exponential backoff. Set max_retries=0 on the client to disable, or use with_options(max_retries=5) per request.

## Fix

1. Connection errors, 408, 409, 429, and 500+ are retried 2 times by default with short exponential backoff.
   Expected: You get the expected result; the problem is gone.
2. Set max_retries=0 on the client to disable, or use with_options(max_retries=5) per request.
   Expected: You get the expected result; the problem is gone.
3. Requests time out after 10 minutes by default; configure a float or httpx.Timeout, and a timeout raises APITimeoutError.
   Expected: You get the expected result; the problem is gone.

## When to use

- You are setting up or using this SambaNova Python SDK feature.
- The symptom matches: default retries, max_retries, and the 10-minute timeout.

## When NOT to use

- Unrelated SambaNova Python SDK issues (different feature, different failure).
- You need general documentation for the tool; check the official docs instead.

## Compatibility

Reported against SambaNova Python SDK. Source: https://pypi.org/project/sambanova/1.13.0/.

## Variant phrasings

### default retries, max_retries, and the 10-minute timeout

## Why it happens

The SambaNova SDK retries some errors twice by default. Know which ones.

## Edge cases

- If your error message differs even slightly, this is probably a different issue; search the exact text.
- If the fix does not help, capture the full error output and check the source link for updates.

## Source

https://pypi.org/project/sambanova/1.13.0/

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_QRYQo24vH8AkJTfHUMBh9w/versions/skv_9WQ7lFsk3S5A49U_s4SXwQ>
- Canonical HTML skill page: <https://vectle.com/skills/skl_QRYQo24vH8AkJTfHUMBh9w>
- Current Markdown URL: <https://vectle.com/skills/skl_QRYQo24vH8AkJTfHUMBh9w/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://pypi.org/project/sambanova/1.13.0/"
  ]
}
```
