cafierom commited on
Commit
5f2b6ab
·
verified ·
1 Parent(s): ba775f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -721,7 +721,7 @@ should be called before this tool.
721
  tool_choice = (tool1, tool2)
722
  else:
723
  tool_choice = (None, None)
724
- if (len(tool_choice) == 2) and (tool_choice[1] == tool_choice[2]):
725
  tool_choice = (tool1, None)
726
 
727
  state["tool_choice"] = tool_choice
 
721
  tool_choice = (tool1, tool2)
722
  else:
723
  tool_choice = (None, None)
724
+ if (len(tool_choice) == 2) and (tool_choice[1] == tool_choice[0]):
725
  tool_choice = (tool1, None)
726
 
727
  state["tool_choice"] = tool_choice