-
Notifications
You must be signed in to change notification settings - Fork 856
Description
Describe the current behavior
Currently Gemini 2.5 Fast can call its own tool function modify_cells() through which it presumes to be able to edit any type of cell. Editing code cells works, HOWEVER editing text/markdown cells DOES NOT WORK. Gemini thinks it did something but no chages occur. Gemini can see its own calls in the discussion context and we both are confused why didn't the text content change in the text cell.
I think I have tracked the behavior to user's inability to agree to Gemini's edits. The interface doesn't display the Keep / Discard message, but the "Gemini" green suggestion tag appears over the affected cell.
Editing code with modify_cells() works just fine for the Colab AI.
Needless to say, I have tested this extensively.
Describe the expected behavior
Gemini should be able to edit text cells. It can add new text/markdown cells with no problem. After Gemini changes the cell, user should be informed with the Keep / Discard chat message whether to keep the changes or discard them (just like with code AI edits).
What web browser you are using
Chromium/Vivaldi
Additional context
No need for minimal self-contained notebook. Just ask Gemini to use modify_cells() to modify an existing text cell. If it asks for a cell ID, say it's the first cell in the notebook or give the ID (you can see it via browser developer tools). It will tell you it changed the cell, but it will not actually work for the AI.
Thanks for an awesome tool (Colab) and all your hard work!