Skip to content

Commit 3d55678

Browse files
dtmeadowsstainless-app[bot]
authored andcommitted
fix(client): remove duplicate outputAsJson function
1 parent d58091b commit 3d55678

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

openai-java-core/src/main/kotlin/com/openai/models/responses/ResponseInputItem.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2735,14 +2735,6 @@ private constructor(
27352735
/** Text, image, or file output of the function tool call. */
27362736
fun output(output: Output) = output(JsonField.of(output))
27372737

2738-
/**
2739-
* Sets the output to text representing the JSON serialized form of a given object. This
2740-
* is useful when passing data that is the result of a function call.
2741-
*
2742-
* @see output
2743-
*/
2744-
fun outputAsJson(functionResult: Any) = apply { output(toJsonString(functionResult)) }
2745-
27462738
/**
27472739
* Sets [Builder.output] to an arbitrary JSON value.
27482740
*

0 commit comments

Comments
 (0)