Unable to Use Claude 3.5, 3.7, and GPT-4o Properly in Cursor – Code Too Long / Connection Failed

Hi,

I’m currently using Cursor and facing issues when editing large code files (around 780 lines) using Claude 3.5 and Claude 3.7 models. When I attempt to modify code longer than 600 lines, the response is cut off early with the message:

“Model provider Anthropic ended response early.”

The issue persists after many attempts. Here are the Copy Request IDs for reference:

Claude 3.5: 7084bec0-11cb-428a-a6f8-38dfce828565

Claude 3.7: 3540bbc2-ba9c-4799-9fe2-329cc3431749

I also tried using GPT-4o, but it returns:

“Connection failed. If the problem persists, please check your internet connection or VPN.”

I followed the troubleshooting guide and disabled HTTP/2, but the issue still occurs. Currently, none of the models work properly from the Toggle menu.

I would like to mention that I am not using a VPN. My network is in China. My operating system is Windows, and I am using the latest version of Cursor (I subscribed to the Pro service via the official website just yesterday). Since subscribing to the Pro service, I have been unable to use Cursor’s AI services effectively. I have been facing these issues since I began my Pro subscription.

Could you please help resolve this issue? I’m unable to work efficiently because of these limitations.

Thanks in advance!