Cursor 逆向api,提示报错Unrecoverable agent model looping detected

模拟cursor app发送请求,调用api接口 /aiserver.v1.ChatService/StreamUnifiedChatWithToolsSSE,经常报错 {“error”:{“code”:“aborted”,“message”:“Error”,“details”:[{“type”:“aiserver.v1.ErrorDetails”,“debug”:{“error”:“ERROR_CUSTOM_MESSAGE”,“details”:{“title”:“Unrecoverable agent model looping detected”,“detail”:“Unrecoverable agent model looping detected.”},“isExpected”:true},“value”:“CB0SWQoqVW5yZWNvdmVyYWJsZSBhZ2VudCBtb2RlbCBsb29waW5nIGRldGVjdGVkEitVbnJlY292ZXJhYmxlIGFnZW50IG1vZGVsIGxvb3BpbmcgZGV0ZWN0ZWQuGAE”}]}}

报错比例大概25%,cursor论坛也搜了,也有类似报错,官方也没给出解决方案,大家有遇到这种情况吗?

1 个赞

我也遇到了,在调用mcp的是出现了这个报错,cursor论坛开发人员如是说:

但是我新开对话还是有问题,但是我加了这个提示词后成功:

请自觉避免Unrecoverable agent model looping detected.错误后错误消失 :bili_057:

也在研究, 有兴趣一起合作, 目录是从前后台复刻