Skip to content

Commit d289673

Browse files
committed
remove useless code
Signed-off-by: xinyual <xinyual@amazon.com>
1 parent a30111c commit d289673

File tree

1 file changed

+0
-2
lines changed
  • ml-algorithms/src/main/java/org/opensearch/ml/engine/tools

1 file changed

+0
-2
lines changed

ml-algorithms/src/main/java/org/opensearch/ml/engine/tools/AgentTool.java

-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ private void extractFromChatParameters(Map<String, String> parameters) {
146146
parameters.putAll(chatParameters);
147147
} catch (Exception exception) {
148148
log.info("fail extract parameters from key 'input' due to" + exception.getMessage());
149-
} finally {
150-
return;
151149
}
152150
}
153151
}

0 commit comments

Comments
 (0)