Skip to content

Commit 9d643f9

Browse files
committed
fix failure tests
Signed-off-by: zane-neo <zaniu@amazon.com>
1 parent e845624 commit 9d643f9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

plugin/src/test/java/org/opensearch/ml/rest/RestMLFlowAgentIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ public static Response registerAgentWithCatIndexTool() throws IOException {
7878
+ " \"description\": \"this is a test agent for the CatIndexTool\",\n"
7979
+ " \"tools\": [\n"
8080
+ " {\n"
81-
+ " \"type\": \"CatIndexTool\",\n"
82-
+ " \"name\": \"DemoCatIndexTool\",\n"
81+
+ " \"type\": \"ListIndexTool\",\n"
82+
+ " \"name\": \"DemoListIndexTool\",\n"
8383
+ " \"parameters\": {\n"
8484
+ " \"input\": \"${parameters.question}\"\n"
8585
+ " }\n"

plugin/src/test/resources/org/opensearch/ml/tools/ListIndexAgentRegistration.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"tools": [
1313
{
14-
"type": "CatIndexTool",
15-
"name": "CatIndexTool"
14+
"type": "ListIndexTool",
15+
"name": "ListIndexTool"
1616
}
1717
],
1818
"app_type": "my_app"

0 commit comments

Comments
 (0)