|
8 | 8 | import static org.opensearch.ml.common.conversation.ActionConstants.ADDITIONAL_INFO_FIELD;
|
9 | 9 | import static org.opensearch.ml.common.conversation.ActionConstants.AI_RESPONSE_FIELD;
|
10 | 10 | import static org.opensearch.ml.common.utils.StringUtils.gson;
|
11 |
| -import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.*; |
| 11 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.DISABLE_TRACE; |
| 12 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.PROMPT_CHAT_HISTORY_PREFIX; |
| 13 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.PROMPT_PREFIX; |
| 14 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.PROMPT_SUFFIX; |
| 15 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.RESPONSE_FORMAT_INSTRUCTION; |
| 16 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.TOOL_RESPONSE; |
| 17 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.VERBOSE; |
| 18 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.constructToolParams; |
| 19 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.createTools; |
| 20 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.fillSelectTool; |
| 21 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.getMessageHistoryLimit; |
| 22 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.getMlToolSpecs; |
| 23 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.getToolName; |
| 24 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.getToolNames; |
| 25 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.outputToOutputString; |
| 26 | +import static org.opensearch.ml.engine.algorithms.agent.AgentUtils.parseLLMOutput; |
12 | 27 | import static org.opensearch.ml.engine.algorithms.agent.PromptTemplate.CHAT_HISTORY_PREFIX;
|
13 | 28 |
|
14 | 29 | import java.security.PrivilegedActionException;
|
|
0 commit comments