Skip to content

Erroneously adds an unreadable character at the beginning of the first line. #1483

@RaySinner

Description

@RaySinner

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

Image

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions