window 最新版 curosr 发送在较长的上下文传输的就很容易复现。
编辑不行Error calling tool’edit file’.的时候,就容易导致下面这个报错。
Connection failed. If the problem persists, please check your internet connection or VPN总是这样。
用 claude 访问大文件也是报错网络错误。
Claude’s response was interrupted. Please check your network
connection or contact support if the issue persists.
不知道和你是不是同样的问题,我的问题是:在上下文长的时候,claude给出文件内容会报这个错误。后来我发现可能是输出的内容太长了导致这个问题,我跟它说让它不要一次性给出,分段给,比如一次给200行代码,果然不再出现这个错误。我整理个rules添加到cursor后,现在即使上下文很长也不报错了。
When providing code files, to prevent a single file from being too long, output the code in chunks of 200 lines at a time. In subsequent replies, only output the parts that were added or changed — never send the entire file again.