[Bug] Antigravity `unable to generate a valid command`

When I try to use command generation by pressing Cmd + I, I get the response: “Unable to generate a valid command.

Hi @JJ_Hu ,

Welcome to the Forum!
Thank you for flagging it. "Unable to generate a valid command” typically means the system was unable to create a command based on the prompt or available context.

Please try :

  • Make the request more specific.
  • Ensure you’re triggering Cmd + I in a supported context (editor or command input area).
  • Restart the IDE and try again.

I tried that, but still nothing was generated.

When I use the same prompt in the side panel, the command I need is generated, so the issue seems to be with the Cmd + I inline terminal command generator window.

1 Like