Are environment variables used for cursor training?

If you have the .env file open as the active editor, it’s possible it was auto-selected as context for your first conversation here, hence the AI could see it. However, even when this happens, as long as the file is in your .gitignore or .cursorignore, the file is never indexed or stored on our servers, and is deleted once our request is complete!

2 Likes