Skip to content

Commit 40ab80a

Browse files
hkt74copybara-github
authored andcommitted
chore: update comments
PiperOrigin-RevId: 870730512
1 parent 13549a2 commit 40ab80a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/interactions/resources/interactions.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ export namespace ContentDelta {
392392
type: 'thought_summary';
393393

394394
/**
395-
* A text content block.
395+
* A new summary item to be added to the thought.
396396
*/
397397
content?: InteractionsAPI.TextContent | InteractionsAPI.ImageContent;
398398
}
@@ -1305,21 +1305,14 @@ export interface ThoughtContent {
13051305
*/
13061306
export type Tool =
13071307
| Function
1308-
| Tool.GoogleSearch
13091308
| Tool.CodeExecution
13101309
| Tool.URLContext
13111310
| Tool.ComputerUse
13121311
| Tool.MCPServer
1312+
| Tool.GoogleSearch
13131313
| Tool.FileSearch;
13141314

13151315
export namespace Tool {
1316-
/**
1317-
* A tool that can be used by the model to search Google.
1318-
*/
1319-
export interface GoogleSearch {
1320-
type: 'google_search';
1321-
}
1322-
13231316
/**
13241317
* A tool that can be used by the model to execute code.
13251318
*/
@@ -1379,6 +1372,13 @@ export namespace Tool {
13791372
url?: string;
13801373
}
13811374

1375+
/**
1376+
* A tool that can be used by the model to search Google.
1377+
*/
1378+
export interface GoogleSearch {
1379+
type: 'google_search';
1380+
}
1381+
13821382
/**
13831383
* A tool that can be used by the model to search files.
13841384
*/

0 commit comments

Comments
 (0)