You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If only whitespace is selected the "Add comments" and "Explain" options appear, and clicking them returns a hallucination.
To Reproduce
Steps to reproduce the behavior:
Select some whitespace
Click on "Explain"
See the explanation which describes nonexistent SAS code
Click on "Add comments"
See generated SAS code and comments
Expected behavior
This should return an error or at least not return completely fabricated code or explanations.
Screenshots
Desktop (please complete the following information):
OS: PC
Version: 0.0.3
Reporter's Organization
HLS R&D
Additional context
This seems to happen regardless of whether include context is on. Each generation seems to have nothing to do with previous output, and the code generated by "Add comments" usually has syntax errors
The text was updated successfully, but these errors were encountered:
To partially "fix" it from the frontend, I will hide the Code Lens if only blank text is highlighted so that the issue is less exposed.
Code Lens:
Users are still able to execute these commands via the context menu and command palette, so I think this issue still needs to be addressed on the backend. I'm keeping this issue open and removing the ui label.
Describe the bug
If only whitespace is selected the "Add comments" and "Explain" options appear, and clicking them returns a hallucination.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
This should return an error or at least not return completely fabricated code or explanations.
Screenshots
Desktop (please complete the following information):
Reporter's Organization
HLS R&D
Additional context
This seems to happen regardless of whether include context is on. Each generation seems to have nothing to do with previous output, and the code generated by "Add comments" usually has syntax errors
The text was updated successfully, but these errors were encountered: