From e86f57dc2ac6c1f5a11973aaf1c4e5c19b6b2ec6 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 04:10:38 +0000 Subject: [PATCH 1/2] feat(api): remove -preview from model name --- .stats.yml | 4 ++-- src/isaacus/resources/enrichments.py | 4 ++-- src/isaacus/types/enrichment_create_params.py | 2 +- tests/api_resources/test_enrichments.py | 16 ++++++++-------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.stats.yml b/.stats.yml index f2469e3..c881b9a 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-33eb383de2961937f7821f279eac79d884a36666e9627d155b1101ab3fd97ce4.yml -openapi_spec_hash: ad00c3677c87aef537f722a542d29280 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-d499915d5c9d28ffae10a108d7655c026676b21d3b34f07ead24c7d50c546633.yml +openapi_spec_hash: d91d2843e3799463b60832553d4faf70 config_hash: 1d77b499f5b4f2dc6986fdd5936d18ef diff --git a/src/isaacus/resources/enrichments.py b/src/isaacus/resources/enrichments.py index 4286b16..7d1752c 100644 --- a/src/isaacus/resources/enrichments.py +++ b/src/isaacus/resources/enrichments.py @@ -47,7 +47,7 @@ def with_streaming_response(self) -> EnrichmentsResourceWithStreamingResponse: def create( self, *, - model: Literal["kanon-2-enricher-preview"], + model: Literal["kanon-2-enricher"], texts: Union[SequenceNotStr[str], str], overflow_strategy: Optional[Literal["auto", "drop_end"]] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. @@ -129,7 +129,7 @@ def with_streaming_response(self) -> AsyncEnrichmentsResourceWithStreamingRespon async def create( self, *, - model: Literal["kanon-2-enricher-preview"], + model: Literal["kanon-2-enricher"], texts: Union[SequenceNotStr[str], str], overflow_strategy: Optional[Literal["auto", "drop_end"]] | Omit = omit, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. diff --git a/src/isaacus/types/enrichment_create_params.py b/src/isaacus/types/enrichment_create_params.py index d009b6c..4c412e5 100644 --- a/src/isaacus/types/enrichment_create_params.py +++ b/src/isaacus/types/enrichment_create_params.py @@ -11,7 +11,7 @@ class EnrichmentCreateParams(TypedDict, total=False): - model: Required[Literal["kanon-2-enricher-preview"]] + model: Required[Literal["kanon-2-enricher"]] """ The ID of the [model](https://docs.isaacus.com/models#enrichment) to use for enrichment. diff --git a/tests/api_resources/test_enrichments.py b/tests/api_resources/test_enrichments.py index 5ef70d1..0960d04 100644 --- a/tests/api_resources/test_enrichments.py +++ b/tests/api_resources/test_enrichments.py @@ -21,7 +21,7 @@ class TestEnrichments: @parametrize def test_method_create(self, client: Isaacus) -> None: enrichment = client.enrichments.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], ) assert_matches_type(EnrichmentResponse, enrichment, path=["response"]) @@ -30,7 +30,7 @@ def test_method_create(self, client: Isaacus) -> None: @parametrize def test_method_create_with_all_params(self, client: Isaacus) -> None: enrichment = client.enrichments.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], overflow_strategy=None, ) @@ -40,7 +40,7 @@ def test_method_create_with_all_params(self, client: Isaacus) -> None: @parametrize def test_raw_response_create(self, client: Isaacus) -> None: response = client.enrichments.with_raw_response.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], ) @@ -53,7 +53,7 @@ def test_raw_response_create(self, client: Isaacus) -> None: @parametrize def test_streaming_response_create(self, client: Isaacus) -> None: with client.enrichments.with_streaming_response.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], ) as response: assert not response.is_closed @@ -74,7 +74,7 @@ class TestAsyncEnrichments: @parametrize async def test_method_create(self, async_client: AsyncIsaacus) -> None: enrichment = await async_client.enrichments.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], ) assert_matches_type(EnrichmentResponse, enrichment, path=["response"]) @@ -83,7 +83,7 @@ async def test_method_create(self, async_client: AsyncIsaacus) -> None: @parametrize async def test_method_create_with_all_params(self, async_client: AsyncIsaacus) -> None: enrichment = await async_client.enrichments.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], overflow_strategy=None, ) @@ -93,7 +93,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIsaacus) - @parametrize async def test_raw_response_create(self, async_client: AsyncIsaacus) -> None: response = await async_client.enrichments.with_raw_response.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], ) @@ -106,7 +106,7 @@ async def test_raw_response_create(self, async_client: AsyncIsaacus) -> None: @parametrize async def test_streaming_response_create(self, async_client: AsyncIsaacus) -> None: async with async_client.enrichments.with_streaming_response.create( - model="kanon-2-enricher-preview", + model="kanon-2-enricher", texts=['1.5 You (the "User") agree to be bound by these Terms.'], ) as response: assert not response.is_closed From 218b66afde694e33c30cb61f6d2fa554d6388f9b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 3 Feb 2026 04:10:54 +0000 Subject: [PATCH 2/2] release: 0.11.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/isaacus/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e1a2442..f7014c3 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.10.1" + ".": "0.11.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1db8ed1..f06b9a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.11.0 (2026-02-03) + +Full Changelog: [v0.10.1...v0.11.0](https://github.com/isaacus-dev/isaacus-python/compare/v0.10.1...v0.11.0) + +### Features + +* **api:** remove -preview from model name ([e86f57d](https://github.com/isaacus-dev/isaacus-python/commit/e86f57dc2ac6c1f5a11973aaf1c4e5c19b6b2ec6)) + ## 0.10.1 (2026-02-03) Full Changelog: [v0.10.0...v0.10.1](https://github.com/isaacus-dev/isaacus-python/compare/v0.10.0...v0.10.1) diff --git a/pyproject.toml b/pyproject.toml index cc947e4..8dc0afb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "isaacus" -version = "0.10.1" +version = "0.11.0" 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 b01e6f2..e96fb03 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.10.1" # x-release-please-version +__version__ = "0.11.0" # x-release-please-version