Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.10.1"
".": "0.11.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/isaacus/_version.py
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/isaacus/resources/enrichments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/isaacus/types/enrichment_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
16 changes: 8 additions & 8 deletions tests/api_resources/test_enrichments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand All @@ -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,
)
Expand All @@ -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.'],
)

Expand All @@ -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
Expand All @@ -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"])
Expand All @@ -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,
)
Expand All @@ -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.'],
)

Expand All @@ -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
Expand Down