创建

登录 ReadmeX

或

了解我们如何处理你的信息: 隐私政策

ReadmeX

陪你读懂 AI 动态

今天,想先了解什么?

选一份动态总结,或直接聊聊你的问题。

社区和关注动态总结只属于你自己。

资讯

OpenRouter发现长会话中的上下文退化

AI 总结

OpenRouter让五家实验室的五款模型运行同一段长时间编码智能体会话,发现单事实检索在约90万Token内保持100%正确率,但计数准确率从约2万Token时的67%降至8万Token时的40%和60万Token时的27%。在200万字符处,删除旧对话使准确率从49/60降至9/60,而使用scaledown/summarize进行分块压缩后提升至54/60,同时缩短了平均提示长度并降低了请求成本。测试仅涵盖一个合成工作负载,结论不应直接外推至所有模型或智能体工作流。

深度见解

该基准显示,模型能容纳长历史并不等于能可靠推理其中分散发生的事件,同时也验证了一种实用的分块压缩方案。

Context Rot: Why Your AI Agent Gets Worse in Long Sessions

OpenRouter ·12/1/2026

Context Rot: Why Your AI Agent Gets Worse in Long Sessions
Context Rot: Why Your AI Agent Gets Worse in Long Sessions

In an AI agent, the session history fills with tool calls, file reads, and logs over dozens of turns, and the model gets worse at using what’s already in its window. Late in a long session, the model can lose count of how many times a test failed, even though the question it’s asked stays the same.

Models now advertise 1M-token windows, so the question has moved from whether a session fits to whether the model still works once it does. We wanted to know where current models break down and whether there’s a cheap fix, so we ran the same long coding-agent session on five models from five labs through OpenRouter and tested two ways of shortening the history. If you only want the fix, skip to how to fix context rot with compaction.

#OpenRouter#Claude Haiku 5.5#GPT-6 Luna#Gemini 3.8 Flash#DeepSeek V4.1 Flash#MiniMax M3.1 Flash#scaledown/summarize

原文约 11 分钟读完阅读原文
群聊

还没有评论,来说说你的看法。