Which version of the app are you using?
3.8.0
Which API Provider are you using?
VS Code LM API
Which Model are you using?
Claude 3.5 Sonnet
What happened?
When a file is being edited in C# projects, for some reason invisible characters are added at the beginning of the first line, which leads to a language server error, which goes to a request in Cline and the model tries to remove this character in an endless loop


The error is floating and can occur when using any provider or model. The reasons are unknown. Sometimes everything is fine, but sometimes unreadable characters constantly appear, which causes errors.
@mrubens Please fix it.
Steps to reproduce
Relevant API REQUEST output
Additional context
cline/cline#947