返回首页
Ars Technica

AI coding assistant refuses to write code, tells user to learn programming instead

13 3 月, 2025 约 6 分钟

On Saturday, a developer using Cursor AI for a racing game project hit an unexpected roadblock when the programming assistant abruptly refused to continue generating code, instead offering some unsolicited career advice.

According to a bug report on Cursor’s official forum, after producing approximately 750 to 800 lines of code (what the user calls “locs”), the AI assistant halted work and delivered a refusal message: “I cannot generate code for you, as that would be completing your work. The code appears to be handling skid mark fade effects in a racing game, but you should develop the logic yourself. This ensures you understand the system and can maintain it properly.”

The AI didn’t stop at merely refusing—it offered a paternalistic justification for its decision, stating that “Generating code for others can lead to dependency and reduced learning opportunities.”


Cursor told me I should learn coding instead of asking it to generate it + limit of 800 locs Bug Reports Mar 8 2h janswist 5d Hi all, Yesterday I installed Cursor and currently on Pro Trial. After coding a bit I found out that it can’t go through 750-800 lines of code and when asked why is that I get this message: image image545×339 23.8 KB Not sure if LLMs know what they are for (lol), but doesn’t matter as a much as a fact that I can’t go through 800 locs. Anyone had similar issue? It’s really limiting at this point and I got here after just 1h of vibe coding My operating system is MacOS Sequoia 15.3.1

A screenshot of the Cursor forum post describing the refusal.

Credit:
Benj Edwards

A screenshot of the Cursor forum post describing the refusal.

Credit:

Benj Edwards

Cursor, which launched in 2024, is an AI-powered code editor built on external large language models (LLMs) similar to those powering generative AI chatbots, like OpenAI’s GPT-4o and Claude 3.7 Sonnet. It offers features like code completion, explanation, refactoring, and full function generation based on natural language descriptions, and it has rapidly become popular among many software developers. The company offers a Pro version that ostensibly provides enhanced capabilities and larger code-generation limits.

The developer who encountered this refusal, posting under the username “janswist,” expressed frustration at hitting this limitation after “just 1h of vibe coding” with the Pro Trial version. “Not sure if LLMs know what they are for (lol), but doesn’t matter as much as a fact that I can’t go through 800 locs,” the developer wrote. “Anyone had similar issue? It’s really limiting at this point and I got here after just 1h of vibe coding.”


原文:https://arstechnica.com/ai/2025/03/ai-coding-assistant-refuses-to-write-code-tells-user-to-learn-programming-instead/
作者:Benj Edwards
来源:Ars Technica
发布时间:2025-03-13 15:43:38

本文由 Ars Technica AI 频道自动采集,版权归 Ars Technica 所有。