Skip to content

Commit

Permalink
Fixing register agent tests
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Palis <[email protected]>
  • Loading branch information
joshpalis committed Mar 19, 2024
1 parent aa8a454 commit a713c69
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
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 @@ -69,7 +70,7 @@ public void setUp() throws Exception {
Map.ofEntries(
Map.entry("name", "test"),
Map.entry("description", "description"),
Map.entry("type", "type"),
Map.entry("type", MLAgentType.FLOW.name()),
Map.entry("llm.model_id", "xyz"),
Map.entry("llm.parameters", Collections.emptyMap()),
Map.entry("tools", tools),
Expand Down

0 comments on commit a713c69

Please sign in to comment.