Skip to content

Commit ec10558

Browse files
use filtered output in streaming (opensearch-project#4335)
Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
1 parent d206ffd commit ec10558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLChatAgentRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ private void runReAct(
486486
}
487487

488488
sessionMsgAnswerBuilder.append(outputToOutputString(filteredOutput));
489-
streamingWrapper.sendToolResponse(outputToOutputString(output), sessionId, parentInteractionId);
489+
streamingWrapper.sendToolResponse(outputToOutputString(filteredOutput), sessionId, parentInteractionId);
490490
traceTensors
491491
.add(
492492
ModelTensors

0 commit comments

Comments
 (0)