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.18.0"
".": "0.18.1"
}
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-46de7b353c33e2b6c139e564caeec9e0462ad714121690f65167a7943e325000.yml
openapi_spec_hash: 6527287f9709a8741c9cc5b4181d7bb1
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-854d1a74fd0240b79b6a7902200adf22b85d5cb67710abe7c0177b4f8801157f.yml
openapi_spec_hash: 9a141dbe42dfb83a674e69441888776f
config_hash: 9040e7359f066240ad536041fb2c5185
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
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.18.0"
version = "0.18.1"
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.18.0" # x-release-please-version
__version__ = "0.18.1" # x-release-please-version
20 changes: 10 additions & 10 deletions src/isaacus/resources/enrichments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/isaacus/types/enrichment_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/api_resources/test_enrichments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])

Expand Down Expand Up @@ -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"])

Expand Down