Hello Team,
I’ve encountered a bug when using Gemini 2.5 Pro with the code execution feature enabled in Google AI Studio:
-
Input Disabled After Code Execution: After a code block is executed successfully within a conversation, the input field/run button becomes disabled (greyed out), preventing any further messages from being sent in that session.
-
Conversation Lost on Refresh: If the page is refreshed after encountering the issue described in point 1, the current conversation is lost entirely and does not appear in the saved conversation library.
Steps to Reproduce:
-
Start a new chat in Google AI Studio.
-
Select the Gemini 2.5 Pro model.
-
Ensure the Code Execution tool is enabled.
-
Ask the model to execute some code (e.g., print(“Hello”)).
-
Observe that after the code executes, the run/send button is greyed out.
-
Refresh the page.
-
Observe that the conversation is gone and not saved.
This prevents continued interaction after code execution and leads to data loss if the page is refreshed. Could you please look into this?
Thanks.