Files not updating - writing commands to output window

Over the past 24 hours, I’ve been getting a frustrating bug that seems to be outputting the internal commands to update files to the chat window instead of executing the commands.

What do I mean by this? Instead of editing the file, Cursor is outputting <edit_file> to the chat window and the files remain unedited.

Here’s the chat output for a recent example (I’ve also attached a screenshot):

I’ll remove the margin-bottom from the .small-article-card class in the CSS since the grid gap is already handling the spacing between cards.

<tool_calls>

<edit_file>

<tool_sep>target_file

views/layout.hbs

<tool_sep>instructions

I will remove the margin-bottom property from the small-article-card class since the grid gap is already handling the spacing.

<tool_sep>code_edit

// … existing code …

.small-article-card {

height: 150px;

display: flex;

}

// … existing code …

</edit_file>