Skip to content

Commit 7eadbf5

Browse files
committed
Enable remote conversation memory with REST call
Signed-off-by: Sicheng Song <[email protected]>
1 parent 9b9f71d commit 7eadbf5

File tree

5 files changed

+1404
-3
lines changed

5 files changed

+1404
-3
lines changed

common/src/main/java/org/opensearch/ml/common/transport/connector/MLExecuteConnectorRequest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,5 @@ public static MLExecuteConnectorRequest fromActionRequest(ActionRequest actionRe
8686
} catch (IOException e) {
8787
throw new UncheckedIOException("failed to parse ActionRequest into MLExecuteConnectorRequest", e);
8888
}
89-
9089
}
9190
}

ml-algorithms/src/main/java/org/opensearch/ml/engine/algorithms/agent/AgentUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1100,7 +1100,7 @@ public static Map<String, Object> createMemoryParams(
11001100
memoryParams.put(MEMORY_CONTAINER_ID_FIELD, containerId);
11011101
}
11021102

1103-
// Check if parameters are wrapped in memory_configurationß
1103+
// Check if parameters are wrapped in memory_configuration
11041104
String memoryConfigStr = requestParameters.get("memory_configuration");
11051105
if (!Strings.isNullOrEmpty(memoryConfigStr)) {
11061106
// Parse the memory_configuration JSON

0 commit comments

Comments
 (0)