Skip to content

Commit 9ce9d85

Browse files
feat(api): api update
1 parent 504087a commit 9ce9d85

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 23
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-0b0145048988f7bd39d5e98c23d812f2e864670f4d915693cb3fc9ecc1648fcd.yml
3-
openapi_spec_hash: ac1dbedcee13cbf1995eefe4c47b7c6f
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-65a744f4c7f4e0a4e92ff201092cf48901757824d7eb32e79cd6e36919284c10.yml
3+
openapi_spec_hash: 88c222227b33b3cba5898fd55782cce9
44
config_hash: f481fca4de4b1657023180d4fc47ef22

‎src/context/dev/resources/web.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -531,8 +531,8 @@ def web_scrape_images(
531531
"""
532532
Extract image assets from a web page, including standard URLs, inline SVGs, data
533533
URIs, responsive image sources, metadata, CSS backgrounds, video posters, and
534-
embeds. The base request costs 1 credit; enrichment costs 1 credit per returned
535-
image.
534+
embeds. The base request costs 1 credit. When enrichment is enabled, the entire
535+
call costs 5 credits.
536536
537537
Args:
538538
url: Page URL to inspect. Must include http:// or https://.
@@ -1214,8 +1214,8 @@ async def web_scrape_images(
12141214
"""
12151215
Extract image assets from a web page, including standard URLs, inline SVGs, data
12161216
URIs, responsive image sources, metadata, CSS backgrounds, video posters, and
1217-
embeds. The base request costs 1 credit; enrichment costs 1 credit per returned
1218-
image.
1217+
embeds. The base request costs 1 credit. When enrichment is enabled, the entire
1218+
call costs 5 credits.
12191219
12201220
Args:
12211221
url: Page URL to inspect. Must include http:// or https://.

0 commit comments

Comments
 (0)