haystack-core-integrations
haystack-core-integrations copied to clipboard
feat: add stream param to gemini
Related Issues
- fixes #936
Proposed Changes:
Allow passing stream parameter to run() method to GoogleAIGeminiGenerator and GoogleVertexGeminiGenerator. This allows passing stream during the pipeline run and prevents the need to recreate the pipeline within streaming callbacks.
How did you test it?
- Ran the units.
- Create new tests
Notes for the reviewer
N/A
Checklist
- I have read the contributors guidelines and the code of conduct
- I have updated the related issue with new insights and changes
- I added unit tests and updated the docstrings
- I've used one of the conventional commit types for my PR title:
fix:,feat:,build:,chore:,ci:,docs:,style:,refactor:,perf:,test:.