agentscope-ai / agentscope-ai/QwenPaw

[Feature]: loop增加压缩上下文管理命令

Offen
#7,679 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
TypeScript
Sterne
35k
Forks
3.1k
Ø Merge
1 T. 13 Std.
Gemergte PRs (30 T.)
228

Beschreibung

## Summary
loop增加压缩上下文管理命令:loop的目标、任务模式增加压缩(/compact)的命令,长任务每次提交都把超长的上下文直接提交,导致token消耗巨量,希望在长目标、任务模式里能增加压缩(/compact)的命令,当上下文达到多大时运行压缩(/compact)的命令后再继续。

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start from the loop command-handling path that interprets slash commands and from the context-management flow used by target/task mode. Locate where turns are appended and where long-context state is maintained, then add support for `/compact` and a compression trigger when context grows too large. Validate by running a long-running loop task and confirming `/compact` works and token-heavy context is reduced before the run continues.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.