ARTICLE DETAIL

建站实战干货

来自一线的建站与推广经验沉淀,每一条都经过真实交付验证。

claude code没开自动压缩上下文超限api error 400

2026/8/6 13:43:47 拓冰建站 浏览量
claude code没开自动压缩上下文超限api error 400 API Error: 400 This models maximum context length is 1048576 tokens. However, you requested 1161291 tokens (1030219 in the messages, 131072 in the completion). Please reduce the length of the messages or completion.这个时候你需要打开聊天往上找几个对话框把最后没用的舍弃然后fork conversation from here然后就可以压缩了。