agentscope-ai / agentscope-ai/QwenPaw

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

Đang mở
#7,679 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
TypeScript
Star
35k
Fork
3.1k
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
228

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
tooling
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.