From d016cb8b9c8d2d506dd77a3a3ad3c01660f042ad Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 9 Dec 2025 17:32:04 +0000 Subject: [PATCH] feat(api): api update --- .stats.yml | 4 +-- .../PlaygroundExperimentBatchParams.kt | 28 ++++++++++++++++--- .../PlaygroundExperimentStreamParams.kt | 28 ++++++++++++++++--- .../playgroundexperiment/RunnableConfig.kt | 8 +++++- 4 files changed, 57 insertions(+), 11 deletions(-) diff --git a/.stats.yml b/.stats.yml index b9dc1480..9c9ac31a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 100 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-54d079b2422d1b12fcfd4746e3f8400be717b375e3d7048a538d4a1a754e818d.yml -openapi_spec_hash: b0c345caf490cd80669824f34ad12987 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/langsmith%2Flangsmith-api-dbeb0274f14fb9a4cd199c031eae32799c1d1d8baba4e91ea6a58e2bd3e53009.yml +openapi_spec_hash: a02dc2ee0d10ba3d3385de55aff3b13b config_hash: 4c81a93850b2f9805605749a196ed2df diff --git a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentBatchParams.kt b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentBatchParams.kt index 946f1251..8989c12b 100644 --- a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentBatchParams.kt +++ b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentBatchParams.kt @@ -39,7 +39,11 @@ private constructor( fun _manifest(): JsonValue = body._manifest() /** - * Configuration for a Runnable. + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. * * @throws LangChainInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -370,7 +374,13 @@ private constructor( fun manifest(manifest: JsonValue) = apply { body.manifest(manifest) } - /** Configuration for a Runnable. */ + /** + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. + */ fun options(options: RunnableConfig) = apply { body.options(options) } /** @@ -951,7 +961,11 @@ private constructor( @JsonProperty("manifest") @ExcludeMissing fun _manifest(): JsonValue = manifest /** - * Configuration for a Runnable. + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. * * @throws LangChainInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -1330,7 +1344,13 @@ private constructor( fun manifest(manifest: JsonValue) = apply { this.manifest = manifest } - /** Configuration for a Runnable. */ + /** + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. + */ fun options(options: RunnableConfig) = options(JsonField.of(options)) /** diff --git a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentStreamParams.kt b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentStreamParams.kt index 79b20dc5..3c1dd0b2 100644 --- a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentStreamParams.kt +++ b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/PlaygroundExperimentStreamParams.kt @@ -39,7 +39,11 @@ private constructor( fun _manifest(): JsonValue = body._manifest() /** - * Configuration for a Runnable. + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. * * @throws LangChainInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -357,7 +361,13 @@ private constructor( fun manifest(manifest: JsonValue) = apply { body.manifest(manifest) } - /** Configuration for a Runnable. */ + /** + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. + */ fun options(options: RunnableConfig) = apply { body.options(options) } /** @@ -913,7 +923,11 @@ private constructor( @JsonProperty("manifest") @ExcludeMissing fun _manifest(): JsonValue = manifest /** - * Configuration for a Runnable. + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. * * @throws LangChainInvalidDataException if the JSON field has an unexpected type or is * unexpectedly missing or null (e.g. if the server responded with an unexpected value). @@ -1277,7 +1291,13 @@ private constructor( fun manifest(manifest: JsonValue) = apply { this.manifest = manifest } - /** Configuration for a Runnable. */ + /** + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. + */ fun options(options: RunnableConfig) = options(JsonField.of(options)) /** diff --git a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/RunnableConfig.kt b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/RunnableConfig.kt index 175ed8fd..e473e781 100644 --- a/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/RunnableConfig.kt +++ b/langsmith-java-core/src/main/kotlin/com/langchain/smith/models/datasets/playgroundexperiment/RunnableConfig.kt @@ -29,7 +29,13 @@ import java.util.Objects import java.util.Optional import kotlin.jvm.optionals.getOrNull -/** Configuration for a Runnable. */ +/** + * Configuration for a `Runnable`. + * + * See the + * [reference docs](https://reference.langchain.com/python/langchain_core/runnables/#langchain_core.runnables.RunnableConfig) + * for more details. + */ class RunnableConfig @JsonCreator(mode = JsonCreator.Mode.DISABLED) private constructor(