makecindy / makecindy/cindy

使用 DeepSeek 配置 1M 上下文时,约 250k tokens 即提前触发上下文压缩

Open
#1,853 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
401
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 散修院院长
**客户端版本**: 0.1.31

---

## 现象
在 Codex 中使用 DeepSeek 并配置了 1M 上下文窗口,执行大型代码库任务(长会话持续编码)时,运行到约 250k tokens 即自动触发了上下文压缩,界面有压缩提示。配置的是 1M 上下文,却在远未接近上限时被压缩,不符合预期。

## 复现步骤
1. 通过模型/API 配置 DeepSeek 的 1M 上下文窗口
2. 在大型代码库中持续进行编码/重构/审查等长任务,积累对话上下文
3. 运行到约 250k tokens 时,观察到上下文压缩自动触发(有压缩提示)

## 期望行为
配置 1M 上下文时,压缩应在接近 1M 上限时才触发;或至少提供可配置的压缩触发阈值/关闭压缩的选项。

## 实际行为
在约 250k tokens(远低于配置的 1M 上限)时即提前触发上下文压缩。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are mentioned. Start by locating the context-window and automatic-compression logic, then reproduce the DeepSeek 1M configuration with a long session. Done means explaining the approximately 250k-token trigger and ensuring compression follows the configured limit or documented threshold.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.