Skip to content

Commit c0c59af

Browse files
fix(types): remove web_search_call.results from ResponseIncludable
1 parent ad7cc79 commit c0c59af

7 files changed

Lines changed: 20 additions & 15 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: 152
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

src/openai/resources/realtime/calls.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,9 @@ def accept(
193193
tools: Tools available to the model.
194194
195195
tracing: Realtime API can write session traces to the
196-
[Traces Dashboard](/logs?api=traces). Set to null to disable tracing. Once
197-
tracing is enabled for a session, the configuration cannot be modified.
196+
[Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
197+
disable tracing. Once tracing is enabled for a session, the configuration cannot
198+
be modified.
198199
199200
`auto` will create a trace for the session with default values for the workflow
200201
name, group id, and metadata.
@@ -522,8 +523,9 @@ async def accept(
522523
tools: Tools available to the model.
523524
524525
tracing: Realtime API can write session traces to the
525-
[Traces Dashboard](/logs?api=traces). Set to null to disable tracing. Once
526-
tracing is enabled for a session, the configuration cannot be modified.
526+
[Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
527+
disable tracing. Once tracing is enabled for a session, the configuration cannot
528+
be modified.
527529
528530
`auto` will create a trace for the session with default values for the workflow
529531
name, group id, and metadata.

src/openai/types/realtime/call_accept_params.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ class CallAcceptParams(TypedDict, total=False):
101101
tracing: Optional[RealtimeTracingConfigParam]
102102
"""
103103
Realtime API can write session traces to the
104-
[Traces Dashboard](/logs?api=traces). Set to null to disable tracing. Once
105-
tracing is enabled for a session, the configuration cannot be modified.
104+
[Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
105+
disable tracing. Once tracing is enabled for a session, the configuration cannot
106+
be modified.
106107
107108
`auto` will create a trace for the session with default values for the workflow
108109
name, group id, and metadata.

src/openai/types/realtime/realtime_session_create_request.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ class RealtimeSessionCreateRequest(BaseModel):
103103
tracing: Optional[RealtimeTracingConfig] = None
104104
"""
105105
Realtime API can write session traces to the
106-
[Traces Dashboard](/logs?api=traces). Set to null to disable tracing. Once
107-
tracing is enabled for a session, the configuration cannot be modified.
106+
[Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
107+
disable tracing. Once tracing is enabled for a session, the configuration cannot
108+
be modified.
108109
109110
`auto` will create a trace for the session with default values for the workflow
110111
name, group id, and metadata.

src/openai/types/realtime/realtime_session_create_request_param.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,9 @@ class RealtimeSessionCreateRequestParam(TypedDict, total=False):
103103
tracing: Optional[RealtimeTracingConfigParam]
104104
"""
105105
Realtime API can write session traces to the
106-
[Traces Dashboard](/logs?api=traces). Set to null to disable tracing. Once
107-
tracing is enabled for a session, the configuration cannot be modified.
106+
[Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
107+
disable tracing. Once tracing is enabled for a session, the configuration cannot
108+
be modified.
108109
109110
`auto` will create a trace for the session with default values for the workflow
110111
name, group id, and metadata.

src/openai/types/realtime/realtime_session_create_response.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -509,8 +509,9 @@ class RealtimeSessionCreateResponse(BaseModel):
509509
tracing: Optional[Tracing] = None
510510
"""
511511
Realtime API can write session traces to the
512-
[Traces Dashboard](/logs?api=traces). Set to null to disable tracing. Once
513-
tracing is enabled for a session, the configuration cannot be modified.
512+
[Traces Dashboard](https://platform.openai.com/logs?api=traces). Set to null to
513+
disable tracing. Once tracing is enabled for a session, the configuration cannot
514+
be modified.
514515
515516
`auto` will create a trace for the session with default values for the workflow
516517
name, group id, and metadata.

src/openai/types/responses/response_includable.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
ResponseIncludable: TypeAlias = Literal[
88
"file_search_call.results",
9-
"web_search_call.results",
109
"web_search_call.action.sources",
1110
"message.input_image.image_url",
1211
"computer_call_output.output.image_url",

0 commit comments

Comments
 (0)