Former-commit-id: 6b48308ef9
This commit is contained in:
hiyouga
2024-07-13 22:07:58 +08:00
parent f616fd61bd
commit 3baf1d1f7e
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"
]