Gemini-cli suggest a private url from a different project in a directory out of the current one.
What happened?
After a .env file was added to the project, I pulled changes and am going to add it on my pc. Asking gemini cli what variables are expected in the .env, it suggests the variables, and for one of them is suggests a private url of a different project, that resides in a different directory, not inside the current directory. I ask it how does it even have access to it, it doesn't respond clearly.
What did you expect to happen?
I expect a cli session not to have access to information that does not originate from the current directory, unless I gave it to it. If I ask how it has access to a url, I expect it to be able to tell me where he got it: a file? did I accidentally tell it that? does it save info in a central place for my entire pc/user directory?
Client information
- CLI Version: 0.1.18
- Git Commit: cd7e60e0
- Operating System: linux v22.16.0
- Sandbox Environment: no sandbox
- Model Version: gemini-2.5-pro
- Memory Usage: 282.6 MB
Login information
API key
Anything else we need to know?
No response
EDIT: Found the source of the info: it was in a local GEMINI.md file. I probably accidentally told cli to use this url. The remaining question is how come it couldn't tell me that immediately. For now I will close it.
Closing because there was no access to an external directory - the info was in a GEMINI.md due to me saying it by accident.