From d8d08e7a7cef2e4f0915f345a1ace15bf62605c8 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 04:11:12 +0000 Subject: [PATCH 1/3] docs(api): minor description correction --- .stats.yml | 4 ++-- src/isaacus/resources/enrichments.py | 20 +++++++++---------- src/isaacus/types/enrichment_create_params.py | 10 +++++----- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.stats.yml b/.stats.yml index edd6732..d88a93d 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 5 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-46de7b353c33e2b6c139e564caeec9e0462ad714121690f65167a7943e325000.yml -openapi_spec_hash: 6527287f9709a8741c9cc5b4181d7bb1 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-c2fccbd5de79f8d02aedb89c4674a7a21988dbb965671d3142196d1f4e98d46e.yml +openapi_spec_hash: 34ca779f9d68f45b3a0f3be3889994fb config_hash: 9040e7359f066240ad536041fb2c5185 diff --git a/src/isaacus/resources/enrichments.py b/src/isaacus/resources/enrichments.py index 35d84d2..dba9061 100644 --- a/src/isaacus/resources/enrichments.py +++ b/src/isaacus/resources/enrichments.py @@ -71,11 +71,11 @@ def create( overflow_strategy: The strategy for handling content exceeding the model's maximum input length. - `auto`, which is the default and recommended setting, currently behaves the same - as `chunk`, which intelligently breaks the input up into smaller chunks and then - stitches the results back together into a single prediction. In the future - `auto` may implement even more sophisticated strategies for handling long - contexts such as leveraging chunk overlap and/or a specialized stitching model. + `auto`, which is the recommended setting, currently behaves the same as `chunk`, + which intelligently breaks the input up into smaller chunks and then stitches + the results back together into a single prediction. In the future `auto` may + implement even more sophisticated strategies for handling long contexts such as + leveraging chunk overlap and/or a specialized stitching model. `chunk` breaks the input up into smaller chunks that fit within the model's context window and then intelligently merges the results into a single @@ -159,11 +159,11 @@ async def create( overflow_strategy: The strategy for handling content exceeding the model's maximum input length. - `auto`, which is the default and recommended setting, currently behaves the same - as `chunk`, which intelligently breaks the input up into smaller chunks and then - stitches the results back together into a single prediction. In the future - `auto` may implement even more sophisticated strategies for handling long - contexts such as leveraging chunk overlap and/or a specialized stitching model. + `auto`, which is the recommended setting, currently behaves the same as `chunk`, + which intelligently breaks the input up into smaller chunks and then stitches + the results back together into a single prediction. In the future `auto` may + implement even more sophisticated strategies for handling long contexts such as + leveraging chunk overlap and/or a specialized stitching model. `chunk` breaks the input up into smaller chunks that fit within the model's context window and then intelligently merges the results into a single diff --git a/src/isaacus/types/enrichment_create_params.py b/src/isaacus/types/enrichment_create_params.py index be8eb24..0cf1194 100644 --- a/src/isaacus/types/enrichment_create_params.py +++ b/src/isaacus/types/enrichment_create_params.py @@ -28,11 +28,11 @@ class EnrichmentCreateParams(TypedDict, total=False): overflow_strategy: Optional[Literal["auto", "drop_end", "chunk"]] """The strategy for handling content exceeding the model's maximum input length. - `auto`, which is the default and recommended setting, currently behaves the same - as `chunk`, which intelligently breaks the input up into smaller chunks and then - stitches the results back together into a single prediction. In the future - `auto` may implement even more sophisticated strategies for handling long - contexts such as leveraging chunk overlap and/or a specialized stitching model. + `auto`, which is the recommended setting, currently behaves the same as `chunk`, + which intelligently breaks the input up into smaller chunks and then stitches + the results back together into a single prediction. In the future `auto` may + implement even more sophisticated strategies for handling long contexts such as + leveraging chunk overlap and/or a specialized stitching model. `chunk` breaks the input up into smaller chunks that fit within the model's context window and then intelligently merges the results into a single From 8e2ee9e9d8cabd2a57917d698b2a01083c244efa Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 04:12:28 +0000 Subject: [PATCH 2/3] docs(api): update example overflow strategy for enrichment --- .stats.yml | 4 ++-- tests/api_resources/test_enrichments.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index d88a93d..8b31efe 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 5 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-c2fccbd5de79f8d02aedb89c4674a7a21988dbb965671d3142196d1f4e98d46e.yml -openapi_spec_hash: 34ca779f9d68f45b3a0f3be3889994fb +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-854d1a74fd0240b79b6a7902200adf22b85d5cb67710abe7c0177b4f8801157f.yml +openapi_spec_hash: 9a141dbe42dfb83a674e69441888776f config_hash: 9040e7359f066240ad536041fb2c5185 diff --git a/tests/api_resources/test_enrichments.py b/tests/api_resources/test_enrichments.py index 0960d04..eac10a9 100644 --- a/tests/api_resources/test_enrichments.py +++ b/tests/api_resources/test_enrichments.py @@ -32,7 +32,7 @@ def test_method_create_with_all_params(self, client: Isaacus) -> None: enrichment = client.enrichments.create( model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], - overflow_strategy=None, + overflow_strategy="auto", ) assert_matches_type(EnrichmentResponse, enrichment, path=["response"]) @@ -85,7 +85,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIsaacus) - enrichment = await async_client.enrichments.create( model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], - overflow_strategy=None, + overflow_strategy="auto", ) assert_matches_type(EnrichmentResponse, enrichment, path=["response"]) From 335fa44785b89b94a633aadffe8c9dea4863d504 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 11 Feb 2026 04:12:43 +0000 Subject: [PATCH 3/3] release: 0.18.1 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 9 +++++++++ pyproject.toml | 2 +- src/isaacus/_version.py | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4ad3fef..d661066 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.18.0" + ".": "0.18.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c252ada..b80f11a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.18.1 (2026-02-11) + +Full Changelog: [v0.18.0...v0.18.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.18.0...v0.18.1) + +### Documentation + +* **api:** minor description correction ([d8d08e7](https://github.com/isaacus-dev/isaacus-python/commit/d8d08e7a7cef2e4f0915f345a1ace15bf62605c8)) +* **api:** update example overflow strategy for enrichment ([8e2ee9e](https://github.com/isaacus-dev/isaacus-python/commit/8e2ee9e9d8cabd2a57917d698b2a01083c244efa)) + ## 0.18.0 (2026-02-11) Full Changelog: [v0.17.1...v0.18.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.17.1...v0.18.0) diff --git a/pyproject.toml b/pyproject.toml index 5cdc6ff..b866199 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "isaacus" -version = "0.18.0" +version = "0.18.1" description = "The official Python library for the isaacus API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/isaacus/_version.py b/src/isaacus/_version.py index 1fabf08..61ceebe 100644 --- a/src/isaacus/_version.py +++ b/src/isaacus/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "isaacus" -__version__ = "0.18.0" # x-release-please-version +__version__ = "0.18.1" # x-release-please-version