makecindy / makecindy/cindy

0.1.79 版本在上下文超过约 80% 后压缩失败,重试无法恢复

Open
#4,371 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

## 版本与环境

- Cindy 版本:0.1.79
- 操作系统:Windows

## 问题描述

当对话上下文使用量超过约 80% 时,Cindy 在执行远程上下文压缩任务时几乎每次都会中断。

## 错误信息

```text
中断原因
Error running remote compact task: stream disconnected before completion:
Transport error: network error: error decoding response body

本次重试 1/5
本任务累计重连 1 次
```

## 实际结果

自动重试仍然不能成功,任务无法恢复或继续,导致长对话和长任务被直接打断。

## 期望结果

上下文压缩能够稳定完成。遇到临时断线时,应自动恢复且不影响当前任务,同时保证上下文不丢失、操作不被重复执行。

## 影响程度

高。问题具有较稳定的触发条件,并且重试无法恢复,导致上下文较长的任务无法正常完成。

Contributor guide

Open the contributing guide

Research direction

No file or test is identified in the issue. First reproduce on Windows with Cindy 0.1.79 after the conversation exceeds about 80% context usage, then trace the remote context-compaction task and its retry behavior around the reported stream-disconnection error. Done means compaction can recover from a temporary disconnect without losing context or repeating operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ai, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.