Skip to content

Commit 1f56089

Browse files
committed
fix(responses): remove more references to incorrect verbosity location
1 parent 76286de commit 1f56089

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ class StructuredResponse<T : Any>(
109109
/** @see Response.user */
110110
fun user(): Optional<String> = rawResponse.user()
111111

112-
/** @see Response.verbosity */
113-
fun verbosity(): Optional<Response.Verbosity> = rawResponse.verbosity()
114-
115112
/** @see Response.background */
116113
fun background(): Optional<Boolean> = rawResponse.background()
117114

@@ -197,9 +194,6 @@ class StructuredResponse<T : Any>(
197194
/** @see Response._user */
198195
fun _user(): JsonField<String> = rawResponse._user()
199196

200-
/** @see Response._verbosity */
201-
fun _verbosity(): JsonField<Response.Verbosity> = rawResponse._verbosity()
202-
203197
/** @see Response._background */
204198
fun _background(): JsonField<Boolean> = rawResponse._background()
205199

openai-java-core/src/test/kotlin/com/openai/models/responses/StructuredResponseCreateParamsTest.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ internal class StructuredResponseCreateParamsTest {
9595
private val TOOL_CHOICE_ALLOWED =
9696
ToolChoiceAllowed.builder().mode(ToolChoiceAllowed.Mode.AUTO).tools(listOf()).build()
9797
private val TOOL_CHOICE_CUSTOM = ToolChoiceCustom.builder().name(STRING).build()
98-
private val RESPONSE_VERBOSITY = ResponseCreateParams.Verbosity.HIGH
9998

10099
private val HEADERS = Headers.builder().build()
101100
private val QUERY_PARAMS = QueryParams.builder().build()
@@ -211,7 +210,6 @@ internal class StructuredResponseCreateParamsTest {
211210
DelegationWriteTestCase("user", STRING),
212211
DelegationWriteTestCase("user", JSON_FIELD),
213212
DelegationWriteTestCase("verbosity", NULLABLE),
214-
DelegationWriteTestCase("verbosity", RESPONSE_VERBOSITY),
215213
DelegationWriteTestCase("verbosity", OPTIONAL),
216214
DelegationWriteTestCase("additionalBodyProperties", MAP),
217215
DelegationWriteTestCase("putAdditionalBodyProperty", STRING, JSON_VALUE),

0 commit comments

Comments
 (0)