Fix : prevent asking for clarification multiple time + readme update
This commit is contained in:
1 parent
8da3d2b3f8
commit
454e68033c
3 files changed
+13
-7
No files matched your search
@@ -341,7 +341,7 @@ class BrowserAgent(Agent):
|
||||
complete = True
|
||||
break
|
||||
|
||||
if link == None or Action.GO_BACK.value in answer or link in self.search_history:
|
||||
if (link == None and not len(extracted_form)) or Action.GO_BACK.value in answer or link in self.search_history:
|
||||
pretty_print(f"Going back to results. Still {len(unvisited)}", color="status")
|
||||
unvisited = self.select_unvisited(search_result)
|
||||
prompt = self.make_newsearch_prompt(user_prompt, unvisited)
|
||||
|
||||
Reference in new issue
Block a user