Skip to content

Commit 15ae242

Browse files
fix(api): remove web_search_call.results from ResponseIncludable
1 parent a9cfa71 commit 15ae242

5 files changed

Lines changed: 20 additions & 25 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 151
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-24647ccd7356fee965aaca347476460727c6aec762e16a9eb41950d6fbccf0be.yml
3-
openapi_spec_hash: ef99e305f20ae8ae7b2758a205280cca
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-2fab88288cbbe872f5d61d1d47da2286662a123b4312bc7fc36addba6607cd67.yml
3+
openapi_spec_hash: a7ee80374e409ed9ecc8ea2e3cd31071
44
config_hash: 5635033cdc8c930255f8b529a78de722

openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeSessionCreateRequest.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,9 +208,9 @@ private constructor(
208208
fun tools(): Optional<List<RealtimeToolsConfigUnion>> = tools.getOptional("tools")
209209

210210
/**
211-
* Realtime API can write session traces to the [Traces Dashboard](/logs?api=traces). Set to
212-
* null to disable tracing. Once tracing is enabled for a session, the configuration cannot be
213-
* modified.
211+
* Realtime API can write session traces to the
212+
* [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to disable
213+
* tracing. Once tracing is enabled for a session, the configuration cannot be modified.
214214
*
215215
* `auto` will create a trace for the session with default values for the workflow name, group
216216
* id, and metadata.
@@ -647,9 +647,9 @@ private constructor(
647647
addTool(RealtimeToolsConfigUnion.Mcp.builder().serverLabel(serverLabel).build())
648648

649649
/**
650-
* Realtime API can write session traces to the [Traces Dashboard](/logs?api=traces). Set to
651-
* null to disable tracing. Once tracing is enabled for a session, the configuration cannot
652-
* be modified.
650+
* Realtime API can write session traces to the
651+
* [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to disable
652+
* tracing. Once tracing is enabled for a session, the configuration cannot be modified.
653653
*
654654
* `auto` will create a trace for the session with default values for the workflow name,
655655
* group id, and metadata.

openai-java-core/src/main/kotlin/com/openai/models/realtime/RealtimeTracingConfig.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ import java.util.Objects
2727
import java.util.Optional
2828

2929
/**
30-
* Realtime API can write session traces to the [Traces Dashboard](/logs?api=traces). Set to null to
31-
* disable tracing. Once tracing is enabled for a session, the configuration cannot be modified.
30+
* Realtime API can write session traces to the
31+
* [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to disable tracing.
32+
* Once tracing is enabled for a session, the configuration cannot be modified.
3233
*
3334
* `auto` will create a trace for the session with default values for the workflow name, group id,
3435
* and metadata.

openai-java-core/src/main/kotlin/com/openai/models/realtime/clientsecrets/RealtimeSessionCreateResponse.kt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -224,9 +224,9 @@ private constructor(
224224
fun tools(): Optional<List<Tool>> = tools.getOptional("tools")
225225

226226
/**
227-
* Realtime API can write session traces to the [Traces Dashboard](/logs?api=traces). Set to
228-
* null to disable tracing. Once tracing is enabled for a session, the configuration cannot be
229-
* modified.
227+
* Realtime API can write session traces to the
228+
* [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to disable
229+
* tracing. Once tracing is enabled for a session, the configuration cannot be modified.
230230
*
231231
* `auto` will create a trace for the session with default values for the workflow name, group
232232
* id, and metadata.
@@ -664,9 +664,9 @@ private constructor(
664664
fun addTool(mcp: Tool.McpTool) = addTool(Tool.ofMcp(mcp))
665665

666666
/**
667-
* Realtime API can write session traces to the [Traces Dashboard](/logs?api=traces). Set to
668-
* null to disable tracing. Once tracing is enabled for a session, the configuration cannot
669-
* be modified.
667+
* Realtime API can write session traces to the
668+
* [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to disable
669+
* tracing. Once tracing is enabled for a session, the configuration cannot be modified.
670670
*
671671
* `auto` will create a trace for the session with default values for the workflow name,
672672
* group id, and metadata.
@@ -6753,9 +6753,9 @@ private constructor(
67536753
}
67546754

67556755
/**
6756-
* Realtime API can write session traces to the [Traces Dashboard](/logs?api=traces). Set to
6757-
* null to disable tracing. Once tracing is enabled for a session, the configuration cannot be
6758-
* modified.
6756+
* Realtime API can write session traces to the
6757+
* [Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to disable
6758+
* tracing. Once tracing is enabled for a session, the configuration cannot be modified.
67596759
*
67606760
* `auto` will create a trace for the session with default values for the workflow name, group
67616761
* id, and metadata.

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ class ResponseIncludable @JsonCreator private constructor(private val value: Jso
3737

3838
@JvmField val FILE_SEARCH_CALL_RESULTS = of("file_search_call.results")
3939

40-
@JvmField val WEB_SEARCH_CALL_RESULTS = of("web_search_call.results")
41-
4240
@JvmField val WEB_SEARCH_CALL_ACTION_SOURCES = of("web_search_call.action.sources")
4341

4442
@JvmField val MESSAGE_INPUT_IMAGE_IMAGE_URL = of("message.input_image.image_url")
@@ -58,7 +56,6 @@ class ResponseIncludable @JsonCreator private constructor(private val value: Jso
5856
/** An enum containing [ResponseIncludable]'s known values. */
5957
enum class Known {
6058
FILE_SEARCH_CALL_RESULTS,
61-
WEB_SEARCH_CALL_RESULTS,
6259
WEB_SEARCH_CALL_ACTION_SOURCES,
6360
MESSAGE_INPUT_IMAGE_IMAGE_URL,
6461
COMPUTER_CALL_OUTPUT_OUTPUT_IMAGE_URL,
@@ -78,7 +75,6 @@ class ResponseIncludable @JsonCreator private constructor(private val value: Jso
7875
*/
7976
enum class Value {
8077
FILE_SEARCH_CALL_RESULTS,
81-
WEB_SEARCH_CALL_RESULTS,
8278
WEB_SEARCH_CALL_ACTION_SOURCES,
8379
MESSAGE_INPUT_IMAGE_IMAGE_URL,
8480
COMPUTER_CALL_OUTPUT_OUTPUT_IMAGE_URL,
@@ -102,7 +98,6 @@ class ResponseIncludable @JsonCreator private constructor(private val value: Jso
10298
fun value(): Value =
10399
when (this) {
104100
FILE_SEARCH_CALL_RESULTS -> Value.FILE_SEARCH_CALL_RESULTS
105-
WEB_SEARCH_CALL_RESULTS -> Value.WEB_SEARCH_CALL_RESULTS
106101
WEB_SEARCH_CALL_ACTION_SOURCES -> Value.WEB_SEARCH_CALL_ACTION_SOURCES
107102
MESSAGE_INPUT_IMAGE_IMAGE_URL -> Value.MESSAGE_INPUT_IMAGE_IMAGE_URL
108103
COMPUTER_CALL_OUTPUT_OUTPUT_IMAGE_URL -> Value.COMPUTER_CALL_OUTPUT_OUTPUT_IMAGE_URL
@@ -123,7 +118,6 @@ class ResponseIncludable @JsonCreator private constructor(private val value: Jso
123118
fun known(): Known =
124119
when (this) {
125120
FILE_SEARCH_CALL_RESULTS -> Known.FILE_SEARCH_CALL_RESULTS
126-
WEB_SEARCH_CALL_RESULTS -> Known.WEB_SEARCH_CALL_RESULTS
127121
WEB_SEARCH_CALL_ACTION_SOURCES -> Known.WEB_SEARCH_CALL_ACTION_SOURCES
128122
MESSAGE_INPUT_IMAGE_IMAGE_URL -> Known.MESSAGE_INPUT_IMAGE_IMAGE_URL
129123
COMPUTER_CALL_OUTPUT_OUTPUT_IMAGE_URL -> Known.COMPUTER_CALL_OUTPUT_OUTPUT_IMAGE_URL

0 commit comments

Comments
 (0)