Skip to content

Commit 3b02cb6

Browse files
release: 1.1.5 (#10)
* chore: bump `httpx-aiohttp` version to 0.1.9 * fix(api): increase default timeouts * release: 1.1.5 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 2f4e9a1 commit 3b02cb6

File tree

9 files changed

+24
-11
lines changed

9 files changed

+24
-11
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.1.4"
2+
".": "1.1.5"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 6
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/sambanova%2Fsambanova-ffd18290466027997fc159de0a8c6abd8d1ec09744f51763b95c7af4567014ec.yml
33
openapi_spec_hash: 9ba4aa66c83753d235943b470eaf36a3
4-
config_hash: 59dfb724942eeb9c5dc372eb7e25d48a
4+
config_hash: 9f1b4105358ac5ce63dff795f3bd6162

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.1.5 (2025-10-24)
4+
5+
Full Changelog: [v1.1.4...v1.1.5](https://github.com/sambanova/sambanova-python/compare/v1.1.4...v1.1.5)
6+
7+
### Bug Fixes
8+
9+
* **api:** increase default timeouts ([5b4435e](https://github.com/sambanova/sambanova-python/commit/5b4435e3a77b4e5ebb6ab75060d02577720a7776))
10+
11+
12+
### Chores
13+
14+
* bump `httpx-aiohttp` version to 0.1.9 ([e0aa167](https://github.com/sambanova/sambanova-python/commit/e0aa1677250d207aad2d8ed05519f81faee6910a))
15+
316
## 1.1.4 (2025-10-10)
417

518
Full Changelog: [v1.1.3...v1.1.4](https://github.com/sambanova/sambanova-python/compare/v1.1.3...v1.1.4)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,15 +290,15 @@ client.with_options(max_retries=5).chat.completions.create(
290290

291291
### Timeouts
292292

293-
By default requests time out after 1 minute. You can configure this with a `timeout` option,
293+
By default requests time out after 10 minutes. You can configure this with a `timeout` option,
294294
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/timeouts/#fine-tuning-the-configuration) object:
295295

296296
```python
297297
from sambanova import SambaNova
298298

299299
# Configure the default for all requests:
300300
client = SambaNova(
301-
# 20 seconds (default is 1 minute)
301+
# 20 seconds (default is 10 minutes)
302302
timeout=20.0,
303303
)
304304

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "sambanova"
3-
version = "1.1.4"
3+
version = "1.1.5"
44
description = "The official Python library for the SambaNova API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -39,7 +39,7 @@ Homepage = "https://github.com/sambanova/sambanova-python"
3939
Repository = "https://github.com/sambanova/sambanova-python"
4040

4141
[project.optional-dependencies]
42-
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.8"]
42+
aiohttp = ["aiohttp", "httpx_aiohttp>=0.1.9"]
4343

4444
[tool.rye]
4545
managed = true

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ httpx==0.28.1
5656
# via httpx-aiohttp
5757
# via respx
5858
# via sambanova
59-
httpx-aiohttp==0.1.8
59+
httpx-aiohttp==0.1.9
6060
# via sambanova
6161
idna==3.4
6262
# via anyio

requirements.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ httpcore==1.0.9
4343
httpx==0.28.1
4444
# via httpx-aiohttp
4545
# via sambanova
46-
httpx-aiohttp==0.1.8
46+
httpx-aiohttp==0.1.9
4747
# via sambanova
4848
idna==3.4
4949
# via anyio

src/sambanova/_constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
RAW_RESPONSE_HEADER = "X-Stainless-Raw-Response"
66
OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to"
77

8-
# default timeout is 1 minute
9-
DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0)
8+
# default timeout is 10 minutes
9+
DEFAULT_TIMEOUT = httpx.Timeout(timeout=600, connect=5.0)
1010
DEFAULT_MAX_RETRIES = 2
1111
DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)
1212

src/sambanova/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "sambanova"
4-
__version__ = "1.1.4" # x-release-please-version
4+
__version__ = "1.1.5" # x-release-please-version

0 commit comments

Comments
 (0)