Skip to content

Commit 8e2ee9e

Browse files
docs(api): update example overflow strategy for enrichment
1 parent d8d08e7 commit 8e2ee9e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 5
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-c2fccbd5de79f8d02aedb89c4674a7a21988dbb965671d3142196d1f4e98d46e.yml
3-
openapi_spec_hash: 34ca779f9d68f45b3a0f3be3889994fb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/isaacus%2Fisaacus-854d1a74fd0240b79b6a7902200adf22b85d5cb67710abe7c0177b4f8801157f.yml
3+
openapi_spec_hash: 9a141dbe42dfb83a674e69441888776f
44
config_hash: 9040e7359f066240ad536041fb2c5185

tests/api_resources/test_enrichments.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_method_create_with_all_params(self, client: Isaacus) -> None:
3232
enrichment = client.enrichments.create(
3333
model="kanon-2-enricher",
3434
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
35-
overflow_strategy=None,
35+
overflow_strategy="auto",
3636
)
3737
assert_matches_type(EnrichmentResponse, enrichment, path=["response"])
3838

@@ -85,7 +85,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncIsaacus) -
8585
enrichment = await async_client.enrichments.create(
8686
model="kanon-2-enricher",
8787
texts=['1.5 You (the "User") agree to be bound by these Terms.'],
88-
overflow_strategy=None,
88+
overflow_strategy="auto",
8989
)
9090
assert_matches_type(EnrichmentResponse, enrichment, path=["response"])
9191

0 commit comments

Comments
 (0)