fix(agents): count message-tool source reply as user-facing reply for… · openclaw/openclaw@e6f3912
chenyangjun-
·
2026-06-22
·
via Recent Commits to openclaw:main
File tree
src/agents/embedded-agent-runner/run
| Original file line number | Diff line number | Diff line change |
|---|
@@ -504,7 +504,7 @@ export function buildEmbeddedRunPayloads(params: {
|
504 | 504 | : [] |
505 | 505 | ).filter((text) => !shouldSuppressRawErrorText(text)); |
506 | 506 | |
507 | | -let hasUserFacingAssistantReply = hasSourceReplyPayload; |
| 507 | +let hasUserFacingAssistantReply = hasSourceReplyPayload || deliveredSourceReplyViaMessageTool; |
508 | 508 | const hasUserFacingErrorReply = replyItems.some((item) => item.isError === true); |
509 | 509 | let hasUserFacingFailureAcknowledgement = false; |
510 | 510 | for (const text of answerTexts) { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。