ai icon indicating copy to clipboard operation
ai copied to clipboard

Ablility to configure function_calling_config for @ai-sdk/google

Open aramvr opened this issue 2 months ago • 2 comments

Description

The current version of @ai-sdk/google does not have function_calling_config, but Google supports that.

AI SDK Version

  • @ai-sdk/google: 2.0.27

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

aramvr avatar Nov 04 '25 10:11 aramvr

@aramvr you can configure it using tool_choice property

AVtheking avatar Nov 08 '25 15:11 AVtheking

@aramvr you can configure it using tool_choice property

toolChoice is for controlling which tool should be called. function_calling_config will enable or disable parallel tool calls.

aramvr avatar Nov 08 '25 19:11 aramvr