Skip to content

Commit a5dde6b

Browse files
committed
make functionCallingConfig optional on ToolConfig
1 parent 144ecd4 commit a5dde6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vertexai/src/types/requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ export interface FunctionDeclarationSchemaProperty {
247247
* @public
248248
*/
249249
export interface ToolConfig {
250-
functionCallingConfig: FunctionCallingConfig;
250+
functionCallingConfig?: FunctionCallingConfig;
251251
}
252252

253253
/**

0 commit comments

Comments
 (0)