You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using the google-generativeai SDK within a mel.chat()transform function, the UI gets stuck and the response never resolves. There are a bunch of errors in the browser Console. The same code works as expected in a normal code cell. I'm told it also works in Mesop running directly (not in Colab) but did not try to reproduce myself.
Interestingly, the equivalent code from the google-genai SDK does work.
Similar failure using both the generate_content() and start_chat() versions.
Seems like something on the colab side that we can't fix on our side. So it may be better to just use the google-genai lib since that one does work as you mentioned.
Describe the bug
When using the
google-generativeai
SDK within amel.chat()
transform
function, the UI gets stuck and the response never resolves. There are a bunch of errors in the browser Console. The same code works as expected in a normal code cell. I'm told it also works in Mesop running directly (not in Colab) but did not try to reproduce myself.Interestingly, the equivalent code from the
google-genai
SDK does work.Similar failure using both the
generate_content()
andstart_chat()
versions.To Reproduce
This fails:
This works:
The text was updated successfully, but these errors were encountered: