agentscope-ai / agentscope-ai/AgentTeams

[Bug] HiClaw集成的QwenPaw版本过低导致多Agent协作完全无法使用

Aperta
#803 3 commenti 0 reazioni 1 assegnatario Rivendicata da @maplefeng-a Vedi su GitHub
area:worker-runtime bug
Lingua principale
Go
Stelle
5.6k
Fork
692
Merge medio
5g 4h
PR unite (30g)
23

Descrizione

### Bug Description

HiClaw 在 Team 多 Worker 协作场景下存在严重 bug:**QwenPaw 的 think 内容被当作用户可见消息发送**,具体表现为:

1. **Think 内容刷屏**:Agent 的内部思考过程被当作普通消息发送到 channel
2. **@mention 无法去除**:发送消息时 QwenPaw 自动在消息前加 `@某人`,无法通过配置去除
3. **Worker 互相 @ 循环**:一个 Worker 回复中包含的 `@另一Worker` 触发对方回复,对方又包含 `@第一个Worker`,形成无限循环
4. **"NO_REPLY" 触发回复循环**:即使发送 "NO_REPLY" 静默,消息中的 @mention 仍触发对方响应

### Steps to Reproduce

当使用 HiClaw 的 multi-worker team 功能时(例如 Worker A 和 Worker B 协作):
- Worker A 在回复中 @ 了 Worker B
- Worker B 的消息同样包含 @ Worker A(由 QwenPaw 硬编码添加)
- 即使一方发送 "NO_REPLY",@mention 仍唤醒对方

结果:两个 Worker 陷入互相 @、互相回复的无限循环,直到消息刷屏或超时。

## 🔧 期望行为

1. HiClaw 升级集成的 QwenPaw 版本至 **v1.1.3 或更高**
2. 或者提供配置选项,允许禁用消息发送时的 `@mention` 前缀
3. 确保 `filter_thinking: true` 配置在所有 channel 上生效(包括 Matrix)

## 🔗 相关 Issue

- HiClaw Issue #761: Team member Worker runtime is hardcoded to "copaw"

![Worker 互相 @ 循环截图](https://private-user-images.githubusercontent.com/129346338/590276115-3a8edd47-b627-4dae-83a4-2f47d3b8304c.png)

### AI Analysis

## 📋 根本原因

该问题在 QwenPaw 项目中已被报告并修复:

| 相关 Issue/PR | 状态 |
| agentscope-ai/QwenPaw#3185 | ✅ 已合并 — filter_thinking 应用到 SSE stream |
| agentscope-ai/QwenPaw#1509 | ✅ 已修复 — think 内容被当作消息发送 |
| agentscope-ai/QwenPaw#4006 | ✅ 已关闭 — reasoning content 未被过滤 |

**修复版本:v1.1.3+** (2026-04-17)

### Relevant Logs

```shell

```

### Component

CoPaw Worker

### Version / Commit

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.