Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
In last few hours, I have seen the cloud agents are somehow incorporating, after completing the user task, a last message like:
{
"id": "9670887c-eb78-4555-8cff-f2ff76da5a77",
"type": "user_message",
"text": "Reminder to commit and push if appropriate."
},
These is probably OK for most cases, but in my case I am having a N8N step checking the final answers and when doing this, the final answer is no longer the proper one (the one read by the user), but another one like:
{
"id": "1ffa2127-3664-4702-bea7-51303a4b1a32",
"type": "assistant_message",
"text": "No commits are needed. The only untracked item in the workspace is the `anemone-availability-service/` directory that I cloned for investigation purposes. This is not something that should be committed to the `ai-agent-base` repository - it was only used to analyze recent changes and understand the deployment that caused the latency spike.\n\nSince this was an investigation/information request (not a code change request), there are no changes to commit or push."
}
I wonder why is this last message there? Can it be disabled? I guess is something you added to make sure no code changes are left without commit, but for those using the API to automate something on top of your agent this approach is killing it.
Steps to Reproduce
- Launch a cloud agent
- Wait for final response
- Inspect the conversation status with https://api.cursor.com/v0/agents/{{ $json.id }}/conversation
Expected Behavior
The last message in the conversation endpoint should match the one seen by the user in the web client. Any other operation like this commit reminder should be left out of the API (as you do in the web)
Operating System
Windows 10/11
MacOS
Linux
Version Information
Cloud agent
For AI issues: which model did you use?
Sonnet 4.5
Does this stop you from using Cursor
No - Cursor works, but with this issue