Unexpected AI Quota Consumption in CLion
Hi everyone,
I've been using the AI assistant in CLion for about 4 or 5 days now, and I've already consumed a significant portion of my quota (AI PRO) — which seems quite unusual given my usage. I'm currently using Claude 4 and have only asked simple questions.
However, I've noticed that the AI often attaches files that aren't part of my active project. These include external libraries or support scripts that aren't even open in the IDE. For example, when I asked a question about template concepts, the AI attached “tuple.py” from the .venv folder located in my project directory — despite it being unrelated to the question and not part of the current context.
The most puzzling case was when I asked: "Check all CIB features and do some suggestions for usage for this matter" In response, the AI attached my CMakeLists.txt file, consumed nearly a quarter of my quota, and returned only a few lines of text.
Is this expected behavior? Is there a way to prevent the AI from attaching unrelated files or limit its context to only the currently open files?
请先登录再写评论。
Hello!
Is the Codebase setting enabled or disabled in your chat?
When it is enabled, AI Assistant gathers the required context automatically. If you do not want AI Assistant to collect context automatically, you can disable the Codebase setting.
More details about the chat - https://www.jetbrains.com/help/ai-assistant/ai-chat.html#start-a-new-chat.