deepset-ai / haystack-core-integrations

Additional packages (components, document stores and the likes) to extend the capabilities of Haystack version 2.0 and onwards
https://haystack.deepset.ai
Apache License 2.0
121 stars 119 forks source link

fix: `GoogleAIGeminiGenerator` - remove support for tools and change output type #1177

Closed anakin87 closed 1 week ago

anakin87 commented 1 week ago

Related Issues

We are removing support for tools in order to produce a List[str] output type, for consistency with other generators. Users interested in tool calling should use the corresponding Chat Generator.

Proposed Changes:

How did you test it?

CI

Notes for the reviewer

This is a breaking change and I will release a major version.

Checklist