Description
I hv. noticed this issue only with Gemini 3.1 Pro / Gemini Flash in the Google Antigravity IDE.
When I ask the agent to search the codebase or investigate multiple files, it sometimes gets stuck on steps like “Searching middleware…”. The chat shows “Waiting for user input…”, but no prompt or Yes/No button appears, so there’s nothing to click.
The Continue button in the IDE doesn’t help—the agent just repeats the same search and gets stuck again.
Current Workarounds:
-
Type in the chat: Manually typing “continue” or “proceed” in the chat box bypasses the freeze and lets the agent resume.
-
Why the UI button fails: Clicking the UI’s “Continue” button just forces the IDE to endlessly retry the broken search loop. Typing in the chat forces the AI to skip the broken tool entirely and move on.
-
Downgrade version: Downgrading the IDE to version 1.21.x,1.22.x completely fixes the issue, and everything works normally on that version.
Interestingly, I don’t see this issue when using Claude models in the same IDE.
Environment
- IDE: Google Antigravity
- Model: Gemini 3.1 Pro (High) / Gemini Flash
- OS: Linux
- Version: 1.23.2
Hello @DhruvTilva.
The bug you mentioned was not reproducible from our end. To help our engineering team investigate this, can you provide specific details on the types of files, directory structures, or search prompts that trigger this hang? In the recent Antigravity version 2.1.1 update, directories like .vscode and .cache were flagged as sensitive; are you searching within or near these directories when the agent pauses?
In the meantime, running “Developer: Reload Window” from the command palette (Ctrl/Cmd + Shift + P) should reset the agent state.
We also recommend utilizing the in-app “Report Issue” option right after the hang occurs to securely package and submit system logs to our developers.
Hello @Ritesh_Dhawade ,
Thank you for the response!
To answer your question: No, I am not searching within or near .vscode, .cache, or any other sensitive directories. This hang occurs during regular global workspace searches across standard source and configuration files in a Nuxt/Vue project.
Here are the specific details of what triggered the hang in my case:
-
Search Prompts that trigger it: Codebase exploration queries like searching for text occurrences across the project (e.g., searching for "definePageMeta", "middleware", or "createBlock").
-
File Types: Standard frontend and backend web development files, specifically .vue files (e.g., 1.vue, tab.vue)
-
Antigravity Version: I initially faced this on version 1.23.2, but the underlying issue where the prompt fails to render can still be reproduced in subsequent updates when executing large project-wide text searches.
-
Exact Behavior: The agent switches to a state showing a loading spinner next to Searching [term] alongside the message Waiting for user input., but no confirmation buttons or text inputs are rendered by the UI to allow proceeding.
Next time this occurs, I will definitely use the in-app “Report Issue” tool immediately to capture and send over the fresh system logs. Let me know if your team needs any other specific context regarding the workspace structure