This commit is contained in:
hiyouga
2024-07-13 22:07:58 +08:00
parent 32699a82a6
commit 6b48308ef9
4 changed files with 10 additions and 10 deletions

View File

@@ -25,9 +25,9 @@ DEFAULT_TOOL_PROMPT = (
"You have access to the following tools:\n{tool_text}"
"Use the following format if using a tool:\n"
"```\n"
"Action: tool name (one of [{tool_names}]).\n"
"Action: tool name (one of [{tool_names}])\n"
"Action Input: the input to the tool, in a JSON format representing the kwargs "
"""(e.g. ```{{"input": "hello world", "num_beams": 5}}```).\n"""
"""(e.g. ```{{"input": "hello world", "num_beams": 5}}```)\n"""
"```\n"
)