同一项目多个会话似乎存在上下文膨胀问题,导致新会话很容易中断
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- desktop
Research direction
The issue names no files, tests, or entry points. Start by tracing how session context is assembled and compressed, then reproduce the reported behavior with several long sessions in one project. Done means new sessions do not inherit unintended context and context usage remains stable across replies.
Written by the indexing model from the issue text.
Description
版本:0.55.2
现象:
我在一个项目开发过程中,会产生很多会话,而且每个会话内容都很多。当产生几个聊过很多内容的会话后,如果新开会话,基本上只能聊一个回合就会出现上下文超过100%的现象。如果继续聊几个回合,API响应就会频繁中断,也就是刚回复一点东西,很快就结束了。我认为这跟上下文压缩方式有关,很有可能多个会话的上下文一直在积累,导致新会话被注入了过多的上下文,所以聊不了几个回合就上下文爆炸了。
还有一个问题是压缩机制好像不稳定,上下文有时候会从百分之两百多跳到百分之二十多,然后只要一次回复又会跳到百分之一百多。还有些时候是稳定在百分之五六百长时间不压缩。
总结来说可能问题有两点:一是上下文可能串会话;二是上下文压缩不稳定
- Dominant language
- TypeScript
- Stars
- 6.5k
- Forks
- 697
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from op7418/CodePilot
-
发生错误时提醒Error:successOpenbug P0-crash-or-interrupt
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Effort selector dropdown hidden for GLM models — blocks access to GLM-5.2 High/Max effort tiersOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug P0-crash-or-interrupt
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in op7418/CodePilot
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
backnotprop/plannotator#2914 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/vscode-containers#655 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 comment ·