mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-21 10:16:44 +00:00
fix: apply backend output transforms to commentary progress text
This commit is contained in:
committed by
Ayaan Zaidi
parent
3a04c9a4bb
commit
5fef91f1de
@@ -497,6 +497,10 @@ export async function executePreparedCliRun(
|
||||
let commentaryCounter = 0;
|
||||
const emitCliCommentaryText = (text: string) => {
|
||||
commentaryCounter += 1;
|
||||
const transformedText = applyPluginTextReplacements(
|
||||
text,
|
||||
context.backendResolved.textTransforms?.output,
|
||||
);
|
||||
emitAgentEvent({
|
||||
runId: params.runId,
|
||||
stream: "item",
|
||||
@@ -506,7 +510,7 @@ export async function executePreparedCliRun(
|
||||
phase: "update",
|
||||
title: "commentary",
|
||||
status: "running",
|
||||
progressText: text,
|
||||
progressText: transformedText,
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user