Skip to content

Fix Uncloused Client Error trigger when use GoogleGenAIChatGenerator in a AsyncPipeline #2628

@raymondWai

Description

@raymondWai

Describe the bug
When I try to use GoogleGenAIChatGenerator in a AsyncPipeline, It always show Unclosed client session error.

To Reproduce
Code snippet to trigger

Describe your environment (please complete the following information):

  • OS: Ubuntu 24.04.3 LTS
  • Haystack version: 2.18.1
  • google-genai-haystack version: 2.1.2
  • Integration version: 2.1.2

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions