Skip to content

Commit

Permalink
fix VisualizationsToolIT (#229) (#231)
Browse files Browse the repository at this point in the history
(cherry picked from commit 919f455)

Signed-off-by: Jing Zhang <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 112d4ec commit 04c6616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/opensearch/integTest/PromptHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ LLMThought llmThought() {
}

String response(String prompt) {
if (prompt.contains("TOOL RESPONSE: ")) {
if (prompt.contains("Human: TOOL RESPONSE ")) {
return "```json{\n"
+ " \"thought\": \"Thought: Now I know the final answer\",\n"
+ " \"final_answer\": \"final answer\"\n"
Expand Down

0 comments on commit 04c6616

Please sign in to comment.