Skip to content

Commit

Permalink
Revert "[Backport 2.13] Fixing register agent tests (opensearch-proje…
Browse files Browse the repository at this point in the history
…ct#597)"

This reverts commit 79ecb6f.
  • Loading branch information
amitgalitz committed Apr 4, 2024
1 parent fe0f9b4 commit 777a114
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import org.opensearch.flowframework.exception.FlowFrameworkException;
import org.opensearch.flowframework.indices.FlowFrameworkIndicesHandler;
import org.opensearch.ml.client.MachineLearningNodeClient;
import org.opensearch.ml.common.MLAgentType;
import org.opensearch.ml.common.agent.LLMSpec;
import org.opensearch.ml.common.agent.MLAgent;
import org.opensearch.ml.common.agent.MLMemorySpec;
Expand Down Expand Up @@ -70,7 +69,7 @@ public void setUp() throws Exception {
Map.ofEntries(
Map.entry("name", "test"),
Map.entry("description", "description"),
Map.entry("type", MLAgentType.FLOW.name()),
Map.entry("type", "type"),
Map.entry("llm.model_id", "xyz"),
Map.entry("llm.parameters", Collections.emptyMap()),
Map.entry("tools", tools),
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/template/agent-framework.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
},
"user_inputs": {
"name": "Sub Agent",
"type": "CONVERSATIONAL",
"type": "cot",
"description": "this is a test agent",
"parameters": {
"hello": "world"
Expand Down Expand Up @@ -139,7 +139,7 @@
},
"user_inputs": {
"name": "DEMO-Test_Agent_For_CoT",
"type": "CONVERSATIONAL",
"type": "cot",
"description": "this is a test agent",
"parameters": {
"hello": "world"
Expand Down

0 comments on commit 777a114

Please sign in to comment.