Omnibus commited on
Commit
46dadfe
1 Parent(s): 94f772f

Update agi.py

Browse files
Files changed (1) hide show
  1. agi.py +1 -1
agi.py CHANGED
@@ -345,7 +345,7 @@ def run_action(purpose, task, history, directory, action_name, action_input,repo
345
  print(f"RUN: {action_name} ACTION_NAME: {action_input}")
346
  return NAME_TO_FUNC[action_name](purpose, task, history, directory, action_input,repo_name,hf_token)
347
  else:
348
- history += "observation: The TOOL I tried to use returned an error, I need to select a tool from: (UPDATE-TASK, SEARCH, COMPLETE)\n"
349
  return "UPDATE-TASK", None, history, task
350
 
351
  def run(purpose, directory, repo_name,hf_token,task=""):
 
345
  print(f"RUN: {action_name} ACTION_NAME: {action_input}")
346
  return NAME_TO_FUNC[action_name](purpose, task, history, directory, action_input,repo_name,hf_token)
347
  else:
348
+ history += "observation: The TOOL I tried to use returned an error\n"
349
  return "UPDATE-TASK", None, history, task
350
 
351
  def run(purpose, directory, repo_name,hf_token,task=""):