@@ -25,7 +25,8 @@ export interface ChatMessageInput {
2525 | ChatMessageInput . ChatMessageContentFileChunk
2626 | ChatMessageInput . ChatMessageContentPdfChunk
2727 | ChatMessageInput . ChatMessageContentVideoChunk
28- > ;
28+ >
29+ | null ;
2930
3031 /**
3132 * Chat roles enum
@@ -34,6 +35,8 @@ export interface ChatMessageInput {
3435
3536 reasoning_steps ?: Array < ChatMessageInput . ReasoningStep > | null ;
3637
38+ tool_call_id ?: string | null ;
39+
3740 tool_calls ?: Array < ChatMessageInput . ToolCall > | null ;
3841}
3942
@@ -102,21 +105,6 @@ export namespace ChatMessageInput {
102105 export interface ReasoningStep {
103106 thought : string ;
104107
105- /**
106- * Agent progress class for live-browsing updates
107- */
108- agent_progress ?: ReasoningStep . AgentProgress | null ;
109-
110- /**
111- * Browser agent step summary class
112- */
113- browser_agent ?: ReasoningStep . BrowserAgent | null ;
114-
115- /**
116- * Tool input for kicking off browser tool automation
117- */
118- browser_tool_execution ?: ReasoningStep . BrowserToolExecution | null ;
119-
120108 /**
121109 * Code generation step details wrapper class
122110 */
@@ -127,11 +115,6 @@ export namespace ChatMessageInput {
127115 */
128116 fetch_url_content ?: ReasoningStep . FetchURLContent | null ;
129117
130- /**
131- * File attachment search step details wrapper class
132- */
133- file_attachment_search ?: ReasoningStep . FileAttachmentSearch | null ;
134-
135118 type ?: string | null ;
136119
137120 /**
@@ -141,33 +124,6 @@ export namespace ChatMessageInput {
141124 }
142125
143126 export namespace ReasoningStep {
144- /**
145- * Agent progress class for live-browsing updates
146- */
147- export interface AgentProgress {
148- action : string | null ;
149-
150- screenshot : string | null ;
151-
152- url : string | null ;
153- }
154-
155- /**
156- * Browser agent step summary class
157- */
158- export interface BrowserAgent {
159- result : string ;
160-
161- url : string ;
162- }
163-
164- /**
165- * Tool input for kicking off browser tool automation
166- */
167- export interface BrowserToolExecution {
168- tool : { [ key : string ] : unknown } ;
169- }
170-
171127 /**
172128 * Code generation step details wrapper class
173129 */
@@ -184,13 +140,6 @@ export namespace ChatMessageInput {
184140 contents : Array < Shared . APIPublicSearchResult > ;
185141 }
186142
187- /**
188- * File attachment search step details wrapper class
189- */
190- export interface FileAttachmentSearch {
191- attachment_urls : Array < string > ;
192- }
193-
194143 /**
195144 * Web search step details wrapper class
196145 */
@@ -227,7 +176,8 @@ export interface ChatMessageOutput {
227176 | ChatMessageOutput . ChatMessageContentFileChunk
228177 | ChatMessageOutput . ChatMessageContentPdfChunk
229178 | ChatMessageOutput . ChatMessageContentVideoChunk
230- > ;
179+ >
180+ | null ;
231181
232182 /**
233183 * Chat roles enum
@@ -236,6 +186,8 @@ export interface ChatMessageOutput {
236186
237187 reasoning_steps ?: Array < ChatMessageOutput . ReasoningStep > | null ;
238188
189+ tool_call_id ?: string | null ;
190+
239191 tool_calls ?: Array < ChatMessageOutput . ToolCall > | null ;
240192}
241193
@@ -304,21 +256,6 @@ export namespace ChatMessageOutput {
304256 export interface ReasoningStep {
305257 thought : string ;
306258
307- /**
308- * Agent progress class for live-browsing updates
309- */
310- agent_progress ?: ReasoningStep . AgentProgress | null ;
311-
312- /**
313- * Browser agent step summary class
314- */
315- browser_agent ?: ReasoningStep . BrowserAgent | null ;
316-
317- /**
318- * Tool input for kicking off browser tool automation
319- */
320- browser_tool_execution ?: ReasoningStep . BrowserToolExecution | null ;
321-
322259 /**
323260 * Code generation step details wrapper class
324261 */
@@ -329,11 +266,6 @@ export namespace ChatMessageOutput {
329266 */
330267 fetch_url_content ?: ReasoningStep . FetchURLContent | null ;
331268
332- /**
333- * File attachment search step details wrapper class
334- */
335- file_attachment_search ?: ReasoningStep . FileAttachmentSearch | null ;
336-
337269 type ?: string | null ;
338270
339271 /**
@@ -343,33 +275,6 @@ export namespace ChatMessageOutput {
343275 }
344276
345277 export namespace ReasoningStep {
346- /**
347- * Agent progress class for live-browsing updates
348- */
349- export interface AgentProgress {
350- action : string | null ;
351-
352- screenshot : string | null ;
353-
354- url : string | null ;
355- }
356-
357- /**
358- * Browser agent step summary class
359- */
360- export interface BrowserAgent {
361- result : string ;
362-
363- url : string ;
364- }
365-
366- /**
367- * Tool input for kicking off browser tool automation
368- */
369- export interface BrowserToolExecution {
370- tool : { [ key : string ] : unknown } ;
371- }
372-
373278 /**
374279 * Code generation step details wrapper class
375280 */
@@ -386,13 +291,6 @@ export namespace ChatMessageOutput {
386291 contents : Array < Shared . APIPublicSearchResult > ;
387292 }
388293
389- /**
390- * File attachment search step details wrapper class
391- */
392- export interface FileAttachmentSearch {
393- attachment_urls : Array < string > ;
394- }
395-
396294 /**
397295 * Web search step details wrapper class
398296 */
0 commit comments