continue icon indicating copy to clipboard operation
continue copied to clipboard

[CON-219] Autocomplete errors are spammny

Open sestinj opened this issue 1 year ago • 0 comments

Before submitting your bug report

Relevant environment info

- OS:*
- Continue:*
- IDE: VS Code

Description

If there is an error with tab-autocomplete, it tends to show up on every keystroke, which is annoying. Ideally, Continue will show any given error the first time, and then not display it a second time.

The error in VS Code is displayed here. It's possible that errors are escaping to here, but the intended usage is that onError gets passed to the CompletionProvider here and then the CompletionProvider handles de-duplicating error messages here. In the last couple of days a few instances of errors on every keystroke have shown up, so there must just be a small mistake in how this is setup.

This should be easy to test by purposefully throwing errors in different spots when debugging and making sure they are properly handled.

To reproduce

No response

Log output

No response

CON-219

sestinj avatar Mar 21 '24 00:03 sestinj