Closed vbarda closed 1 month ago
This change fixes the issue with running ChatGoogleGenerativeAI inside a ThreadPoolExecutor and requires initializing the model inside an event loop to enable async client
ChatGoogleGenerativeAI
ThreadPoolExecutor
is there anything we can do to make this usable in a setting without an eventloop? Or does it need to be fixed in the upstream sdk?
I believe it would have to be fixed in the SDK
cc @lkuligin
This change fixes the issue with running
ChatGoogleGenerativeAI
inside aThreadPoolExecutor
and requires initializing the model inside an event loop to enable async client