From 2f1f6107101365caa8fd556f7e94eb9ae0b880fc Mon Sep 17 00:00:00 2001 From: Heng Qian Date: Tue, 20 Aug 2024 17:30:13 +0800 Subject: [PATCH] [BugFix] Avoid overriding the input parameter of the following tools in flow agent. Signed-off-by: Heng Qian --- .../ml/engine/algorithms/agent/MLFlowAgentRunner.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLFlowAgentRunner.java b/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLFlowAgentRunner.java index 38ad680d99..7a7e657f34 100644 --- a/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLFlowAgentRunner.java +++ b/ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/MLFlowAgentRunner.java @@ -293,6 +293,9 @@ Map getToolExecuteParams(MLToolSpec toolSpec, Map