gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Adding @ to prompt hangs gemini-cli

Open King4s opened this issue 1 year ago • 6 comments

What happened?

when @ is used in any form console stops repsponding

What did you expect to happen?

continue to work

Client information

  • CLI Version: 0.1.5
  • Git Commit: bf873a1
  • Operating System: win32 v22.17.0
  • Sandbox Environment: no sandbox
  • Model Version: gemini-2.5-flash
  • Memory Usage: 143.8 MB

Login information

No response

Anything else we need to know?

No response

King4s avatar Jun 27 '25 11:06 King4s

Attempting to repro-- does it stop responding after pressing enter? Or does typing @ immediately cause issues?

Wondering if related to #2178

chrstnb avatar Jun 27 '25 16:06 chrstnb

It stops right after it's typed or pasted. It also translates at to @ in a copy and past sitation, for me from a F12 dev Web console

King4s avatar Jun 27 '25 17:06 King4s

Do you have a large number (>10,000) files in the directory or subdirectories? you can try improving this by setting (see #1290)

in ~/.gemini/settings.json

"fileFiltering": {
  "respectGitIgnore": true,
  "enableRecursiveFileSearch": false
}

sethtroisi avatar Jul 01 '25 23:07 sethtroisi

I did not know about that limitation so it could be that I was at the beginning of my project folder

King4s avatar Jul 02 '25 18:07 King4s

Found possible duplicate issues:

  • #2560: (0.9029418230056763)
  • #3388: (0.9062623977661133)
  • #2758: (0.9056376218795776)
  • #4788: (0.9032012224197388)
  • #1652: (0.9012849599505953)
  • #2482: (0.9012785226487677)

gsquared94 avatar Jul 30 '25 20:07 gsquared94

We've overhauled how autocomplete was done resolving this issue. Please let us know if you still see this issue.

skeshive avatar Aug 22 '25 16:08 skeshive