Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Continuous file change events #120

Closed
pip25 opened this issue Jan 18, 2024 · 3 comments · Fixed by huggingface/llm-ls#59
Closed

[BUG] Continuous file change events #120

pip25 opened this issue Jan 18, 2024 · 3 comments · Fixed by huggingface/llm-ls#59

Comments

@pip25
Copy link

pip25 commented Jan 18, 2024

VSCode version: 1.85.1

In the output of the extension, I see a continuous stream of messages like this:

2024-01-18 13:06:07.542 [info] [Info - 1:06:07 PM] {llm-ls} file changed

About 4 messages are added every second, even when the IDE is completely idle. I have no proof, but I suspect that at least some of these events results in LLM queries, because I reach the rate limit suspiciously quickly for my HuggingFace account.

@DanielAdari
Copy link

DanielAdari commented Jan 18, 2024

Can approve,
I'm getting the same output.

It spams the output logs...

@darolt
Copy link

darolt commented Jan 19, 2024

I also have these "too frequent" messages on:
vs code version 1.85.1
llm-vscode version v0.1.6

@HennerM
Copy link
Contributor

HennerM commented Jan 20, 2024

I identified the bug, it's because we get change events from the output channel which in turn creates more because we also write to the output ourselves, see huggingface/llm-ls#59 for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants