Skip to content

Commit bff9bb5

Browse files
committed
fix: delete stop
Signed-off-by: Jiaru Jiang <[email protected]>
1 parent bdbb695 commit bff9bb5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,6 @@ void generateLLMSummary(List<ModelTensors> stepsSummary, LLMSpec llmSpec, String
998998
String summaryPrompt = String.format(Locale.ROOT, SUMMARY_PROMPT_TEMPLATE, String.join("\n", stepStrings));
999999
summaryParams.put("inputs", summaryPrompt);
10001000
summaryParams.put(PROMPT, summaryPrompt);
1001-
summaryParams.putIfAbsent("stop", gson.toJson(new String[] { "\n\n", "```" }));
10021001

10031002
ActionRequest request = new MLPredictionTaskRequest(
10041003
llmSpec.getModelId(),

0 commit comments

Comments
 (0)