@yeaft/webchat-agent 0.0.121 → 0.0.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/crew.js +2 -3
- package/package.json +1 -1
package/crew.js
CHANGED
|
@@ -1501,9 +1501,8 @@ export async function handleCrewHumanInput(msg) {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
|
|
1504
|
-
// 没有 @
|
|
1505
|
-
const
|
|
1506
|
-
const target = targetRole || activeRole || session.decisionMaker;
|
|
1504
|
+
// 没有 @ 指定目标,默认发给决策者(PM)
|
|
1505
|
+
const target = targetRole || session.decisionMaker;
|
|
1507
1506
|
|
|
1508
1507
|
// 检查目标是否忙
|
|
1509
1508
|
const targetState = session.roleStates.get(target);
|