agentscope-ai / agentscope-ai/QwenPaw

[Bug]: File Deletion Approval Flow Broken

Đang mở
#2,851 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
34.9k
Fork
3.1k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
225

Mô tả

## CoPaw Version

1.0.0

## Description

When executing a file deletion command, CoPaw pauses and asks user to reply with /approve to confirm the delete action. However, when user replies with /approve, CoPaw responds with "No pending approval" and "There is no tool-guard approval waiting for this session", causing the delete command to fail to execute.

**Related PR(s):** #(optional)

**Security considerations:** [If applicable, e.g. auth, env/config exposure]

## Component(s) Affected

- [ ] Core / Backend (app, agents, config, providers, utils, local_models)
- [ x ] Console (frontend web UI)
- [ ] Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
- [ ] Skills
- [ ] CLI
- [ ] Documentation (website)
- [ ] Tests
- [ ] CI/CD
- [ ] Scripts / Deploy

## Environment

- **CoPaw version:** [1.0.0]
- **OS:** []
- **Install method:** [Docker]
- **Python version (if applicable):** []

## Steps to Reproduce

## Actual vs Expected

- **Actual:**: CoPaw asks for /approve but then rejects it saying no pending approval exists
- **Expected:**: Either the delete should execute after approval, or the approval flow should work correctly
-

## Logs / Screenshots
Image
[Paste relevant log output or attach screenshots. Use code blocks for logs.]

```
(paste logs here)
```

## Additional Notes

[Optional: workarounds, similar issues, etc.]

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

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

Đánh giá

Issue này chưa được đánh giá.

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.