Skip to content

change prompt compression diff replacement text #172

@jeske

Description

@jeske

WHen the prompt compression runs, it seems to replace diffs with something like:

"Compressed diff with 1 SEARCH/REPLACE blocks"

This is terrible, because the AI doesn't know this is a compressed diff, so instead it thinks this is actually the file contents. Then later it tries to perform a file edit based on thinking that was the file contents:

Image

It needs to replace it with something the AI can understand... more like:

<FileRead NOTE="These file contents have been removed from the prompt. If you need the file please re-read it"/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions