Skip to content

Commit c0877bc

Browse files
committed
update types
1 parent 8ab47e2 commit c0877bc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/resources/responses/responses.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export interface ComputerTool {
163163
/**
164164
* The type of the computer use tool. Always `computer_use_preview`.
165165
*/
166-
type: 'computer-preview';
166+
type: 'computer_use_preview';
167167
}
168168

169169
/**
@@ -288,7 +288,11 @@ export interface Response {
288288
*/
289289
created_at: number;
290290

291-
output_text: string;
291+
/**
292+
* SDK-only convenience property that contains the aggregated text output from all
293+
* output_text items in the output array, if any are present
294+
*/
295+
output_text: string | null;
292296

293297
/**
294298
* An error object returned when the model fails to generate a Response.

0 commit comments

Comments
 (0)