Skip to content

Commit

Permalink
Small str fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed May 18, 2023
1 parent 904153f commit 362548d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/agents/test_tools_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def test_extract_tool_name_and_tool_multi_line_input(tools_manager):
assert tool_name == "Search" and tool_input == ""

# Case where the tool name and tool input are provided with extra whitespaces
text3 = " Tool: Search \n" " Tool Input: What is the tallest building in the world? "
text3 = " Tool: Search \n Tool Input: What is the tallest building in the world? "
tool_name, tool_input = tools_manager.extract_tool_name_and_tool_input(text3)
assert tool_name.strip() == "Search" and tool_input.strip() == "What is the tallest building in the world?"

Expand Down

0 comments on commit 362548d

Please sign in to comment.