[BUG] Crash on new untitled VS Code file
DataOps7 opened this issue · 3 comments
DataOps7 commented
Bug
To reproduce:
- Press
Ctrl + n
in VS Code - Start typing
The LLM LS crashes on every completion,
After 5 crashes it doesn't restart, which makes the extension unusable.
Temporary fix
Add the following code snippet to the provider's provideInlineCompletionItems
method:
if (document.isUntitled) {
return;
}
This will deactivate the extension on new untitled documents which would save you from crashes,
until the error is properly fixed in the llm-ls.
github-actions commented
This issue is stale because it has been open for 30 days with no activity.
McPatate commented
Is this still an issue ?
github-actions commented
This issue is stale because it has been open for 30 days with no activity.