Skip to content

Commit 8ec13a5

Browse files
committed
Make FunctionDeclaration description required
1 parent 90f80a2 commit 8ec13a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/vertexai/src/types/requests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ export declare interface FunctionDeclaration {
145145
*/
146146
name: string;
147147
/**
148-
* Optional. Description and purpose of the function. Model uses it to decide
148+
* Description and purpose of the function. Model uses it to decide
149149
* how and whether to call the function.
150150
*/
151-
description?: string;
151+
description: string;
152152
/**
153153
* Optional. Describes the parameters to this function in JSON Schema Object
154154
* format. Reflects the Open API 3.03 Parameter Object. Parameter names are

0 commit comments

Comments
 (0)