Former-commit-id: d7547d6b9e4c660897e3ce0f4022e08686c172d5
This commit is contained in:
hiyouga
2024-07-13 22:07:58 +08:00
parent 27e13a8371
commit dfc7a7d5cd
4 changed files with 10 additions and 10 deletions

View File

@@ -69,9 +69,9 @@ def test_default_tool_formatter():
" - bar (number): bar_desc\n\n"
"Use the following format if using a tool:\n"
"```\n"
"Action: tool name (one of [test_tool]).\n"
"Action: tool name (one of [test_tool])\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"
]