@@ -95,12 +95,6 @@ private constructor(
9595 */
9696 fun sortParams (): Optional <SortParamsForRunsComparisonView > = body.sortParams()
9797
98- /* *
99- * @throws LangChainInvalidDataException if the JSON field has an unexpected type (e.g. if the
100- * server responded with an unexpected value).
101- */
102- fun stream (): Optional <Boolean > = body.stream()
103-
10498 /* *
10599 * Returns the raw JSON value of [sessionIds].
106100 *
@@ -166,13 +160,6 @@ private constructor(
166160 */
167161 fun _sortParams (): JsonField <SortParamsForRunsComparisonView > = body._sortParams ()
168162
169- /* *
170- * Returns the raw JSON value of [stream].
171- *
172- * Unlike [stream], this method doesn't throw if the JSON field has an unexpected type.
173- */
174- fun _stream (): JsonField <Boolean > = body._stream ()
175-
176163 fun _additionalBodyProperties (): Map <String , JsonValue > = body._additionalProperties ()
177164
178165 /* * Additional headers to send with the request. */
@@ -387,16 +374,6 @@ private constructor(
387374 body.sortParams(sortParams)
388375 }
389376
390- fun stream (stream : Boolean ) = apply { body.stream(stream) }
391-
392- /* *
393- * Sets [Builder.stream] to an arbitrary JSON value.
394- *
395- * You should usually call [Builder.stream] with a well-typed [Boolean] value instead. This
396- * method is primarily for setting the field to an undocumented or not yet supported value.
397- */
398- fun stream (stream : JsonField <Boolean >) = apply { body.stream(stream) }
399-
400377 fun additionalBodyProperties (additionalBodyProperties : Map <String , JsonValue >) = apply {
401378 body.additionalProperties(additionalBodyProperties)
402379 }
@@ -558,8 +535,7 @@ private constructor(
558535 * Request DTO for querying examples with runs - used for API input.
559536 *
560537 * This is separate from the internal schema to cleanly handle optional limit values. When limit
561- * is None, the internal schema will apply appropriate defaults based on format and stream
562- * settings.
538+ * is None, the internal schema will apply appropriate defaults based on format.
563539 */
564540 class Body
565541 @JsonCreator(mode = JsonCreator .Mode .DISABLED )
@@ -573,7 +549,6 @@ private constructor(
573549 private val offset: JsonField <Long >,
574550 private val preview: JsonField <Boolean >,
575551 private val sortParams: JsonField <SortParamsForRunsComparisonView >,
576- private val stream: JsonField <Boolean >,
577552 private val additionalProperties: MutableMap <String , JsonValue >,
578553 ) {
579554
@@ -598,7 +573,6 @@ private constructor(
598573 @JsonProperty(" sort_params" )
599574 @ExcludeMissing
600575 sortParams: JsonField <SortParamsForRunsComparisonView > = JsonMissing .of(),
601- @JsonProperty(" stream" ) @ExcludeMissing stream: JsonField <Boolean > = JsonMissing .of(),
602576 ) : this (
603577 sessionIds,
604578 comparativeExperimentId,
@@ -609,7 +583,6 @@ private constructor(
609583 offset,
610584 preview,
611585 sortParams,
612- stream,
613586 mutableMapOf (),
614587 )
615588
@@ -670,12 +643,6 @@ private constructor(
670643 fun sortParams (): Optional <SortParamsForRunsComparisonView > =
671644 sortParams.getOptional(" sort_params" )
672645
673- /* *
674- * @throws LangChainInvalidDataException if the JSON field has an unexpected type (e.g. if
675- * the server responded with an unexpected value).
676- */
677- fun stream (): Optional <Boolean > = stream.getOptional(" stream" )
678-
679646 /* *
680647 * Returns the raw JSON value of [sessionIds].
681648 *
@@ -751,13 +718,6 @@ private constructor(
751718 @ExcludeMissing
752719 fun _sortParams (): JsonField <SortParamsForRunsComparisonView > = sortParams
753720
754- /* *
755- * Returns the raw JSON value of [stream].
756- *
757- * Unlike [stream], this method doesn't throw if the JSON field has an unexpected type.
758- */
759- @JsonProperty(" stream" ) @ExcludeMissing fun _stream (): JsonField <Boolean > = stream
760-
761721 @JsonAnySetter
762722 private fun putAdditionalProperty (key : String , value : JsonValue ) {
763723 additionalProperties.put(key, value)
@@ -795,7 +755,6 @@ private constructor(
795755 private var offset: JsonField <Long > = JsonMissing .of()
796756 private var preview: JsonField <Boolean > = JsonMissing .of()
797757 private var sortParams: JsonField <SortParamsForRunsComparisonView > = JsonMissing .of()
798- private var stream: JsonField <Boolean > = JsonMissing .of()
799758 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
800759
801760 @JvmSynthetic
@@ -809,7 +768,6 @@ private constructor(
809768 offset = body.offset
810769 preview = body.preview
811770 sortParams = body.sortParams
812- stream = body.stream
813771 additionalProperties = body.additionalProperties.toMutableMap()
814772 }
815773
@@ -976,17 +934,6 @@ private constructor(
976934 this .sortParams = sortParams
977935 }
978936
979- fun stream (stream : Boolean ) = stream(JsonField .of(stream))
980-
981- /* *
982- * Sets [Builder.stream] to an arbitrary JSON value.
983- *
984- * You should usually call [Builder.stream] with a well-typed [Boolean] value instead.
985- * This method is primarily for setting the field to an undocumented or not yet
986- * supported value.
987- */
988- fun stream (stream : JsonField <Boolean >) = apply { this .stream = stream }
989-
990937 fun additionalProperties (additionalProperties : Map <String , JsonValue >) = apply {
991938 this .additionalProperties.clear()
992939 putAllAdditionalProperties(additionalProperties)
@@ -1029,7 +976,6 @@ private constructor(
1029976 offset,
1030977 preview,
1031978 sortParams,
1032- stream,
1033979 additionalProperties.toMutableMap(),
1034980 )
1035981 }
@@ -1050,7 +996,6 @@ private constructor(
1050996 offset()
1051997 preview()
1052998 sortParams().ifPresent { it.validate() }
1053- stream()
1054999 validated = true
10551000 }
10561001
@@ -1078,8 +1023,7 @@ private constructor(
10781023 (if (limit.asKnown().isPresent) 1 else 0 ) +
10791024 (if (offset.asKnown().isPresent) 1 else 0 ) +
10801025 (if (preview.asKnown().isPresent) 1 else 0 ) +
1081- (sortParams.asKnown().getOrNull()?.validity() ? : 0 ) +
1082- (if (stream.asKnown().isPresent) 1 else 0 )
1026+ (sortParams.asKnown().getOrNull()?.validity() ? : 0 )
10831027
10841028 override fun equals (other : Any? ): Boolean {
10851029 if (this == = other) {
@@ -1096,7 +1040,6 @@ private constructor(
10961040 offset == other.offset &&
10971041 preview == other.preview &&
10981042 sortParams == other.sortParams &&
1099- stream == other.stream &&
11001043 additionalProperties == other.additionalProperties
11011044 }
11021045
@@ -1111,15 +1054,14 @@ private constructor(
11111054 offset,
11121055 preview,
11131056 sortParams,
1114- stream,
11151057 additionalProperties,
11161058 )
11171059 }
11181060
11191061 override fun hashCode (): Int = hashCode
11201062
11211063 override fun toString () =
1122- " Body{sessionIds=$sessionIds , comparativeExperimentId=$comparativeExperimentId , exampleIds=$exampleIds , filters=$filters , includeAnnotatorDetail=$includeAnnotatorDetail , limit=$limit , offset=$offset , preview=$preview , sortParams=$sortParams , stream= $stream , additionalProperties=$additionalProperties }"
1064+ " Body{sessionIds=$sessionIds , comparativeExperimentId=$comparativeExperimentId , exampleIds=$exampleIds , filters=$filters , includeAnnotatorDetail=$includeAnnotatorDetail , limit=$limit , offset=$offset , preview=$preview , sortParams=$sortParams , additionalProperties=$additionalProperties }"
11231065 }
11241066
11251067 class Filters
0 commit comments