From 9ce9d85f8e031578b3d15f8c951c0276e610bac5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 14:28:04 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- src/context/dev/resources/web.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.stats.yml b/.stats.yml index e3d3827..a5eefde 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 23 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-0b0145048988f7bd39d5e98c23d812f2e864670f4d915693cb3fc9ecc1648fcd.yml -openapi_spec_hash: ac1dbedcee13cbf1995eefe4c47b7c6f +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-65a744f4c7f4e0a4e92ff201092cf48901757824d7eb32e79cd6e36919284c10.yml +openapi_spec_hash: 88c222227b33b3cba5898fd55782cce9 config_hash: f481fca4de4b1657023180d4fc47ef22 diff --git a/src/context/dev/resources/web.py b/src/context/dev/resources/web.py index c8b66f6..a9dfaaa 100644 --- a/src/context/dev/resources/web.py +++ b/src/context/dev/resources/web.py @@ -531,8 +531,8 @@ def web_scrape_images( """ Extract image assets from a web page, including standard URLs, inline SVGs, data URIs, responsive image sources, metadata, CSS backgrounds, video posters, and - embeds. The base request costs 1 credit; enrichment costs 1 credit per returned - image. + embeds. The base request costs 1 credit. When enrichment is enabled, the entire + call costs 5 credits. Args: url: Page URL to inspect. Must include http:// or https://. @@ -1214,8 +1214,8 @@ async def web_scrape_images( """ Extract image assets from a web page, including standard URLs, inline SVGs, data URIs, responsive image sources, metadata, CSS backgrounds, video posters, and - embeds. The base request costs 1 credit; enrichment costs 1 credit per returned - image. + embeds. The base request costs 1 credit. When enrichment is enabled, the entire + call costs 5 credits. Args: url: Page URL to inspect. Must include http:// or https://. From c991b2caa9c5e747ec222e77549a407c9a52fb68 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 19 May 2026 14:28:31 +0000 Subject: [PATCH 2/2] release: 0.25.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/context/dev/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index d2d60a3..a36746b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.24.0" + ".": "0.25.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f3ab7a..374ff7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.25.0 (2026-05-19) + +Full Changelog: [v0.24.0...v0.25.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.24.0...v0.25.0) + +### Features + +* **api:** api update ([9ce9d85](https://github.com/context-dot-dev/context-python-sdk/commit/9ce9d85f8e031578b3d15f8c951c0276e610bac5)) + ## 0.24.0 (2026-05-16) Full Changelog: [v0.23.0...v0.24.0](https://github.com/context-dot-dev/context-python-sdk/compare/v0.23.0...v0.24.0) diff --git a/pyproject.toml b/pyproject.toml index 5ed155a..1b4979a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "context.dev" -version = "0.24.0" +version = "0.25.0" description = "The official Python library for the context.dev API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/context/dev/_version.py b/src/context/dev/_version.py index dae97a6..3b75fc0 100644 --- a/src/context/dev/_version.py +++ b/src/context/dev/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "context.dev" -__version__ = "0.24.0" # x-release-please-version +__version__ = "0.25.0" # x-release-please-version