File tree Expand file tree Collapse file tree 1 file changed +1
-45
lines changed Expand file tree Collapse file tree 1 file changed +1
-45
lines changed Original file line number Diff line number Diff line change @@ -443,51 +443,7 @@ def _reset(self):
443443def  _initialize_agent (self  ):
444444``` 
445445
446- Initialize the agent.
447- 
448- <a  id = " camel.toolkits.async_browser_toolkit.AsyncBrowserToolkit._get_final_answer"  ></a >
449- 
450- ### _ get_final_answer 
451- 
452- ``` python 
453- def  _get_final_answer (self  , task_prompt : str ):
454- ``` 
455- 
456- Get the final answer based on the task prompt and current browser
457- state. It is used when the agent thinks that the task can be completed
458- without any further action, and answer can be directly found in the
459- current viewport.
460- 
461- <a  id = " camel.toolkits.async_browser_toolkit.AsyncBrowserToolkit._task_planning"  ></a >
462- 
463- ### _ task_planning 
464- 
465- ``` python 
466- def  _task_planning (self  , task_prompt : str , start_url : str ):
467- ``` 
468- 
469- Plan the task based on the given task prompt.
470- 
471- <a  id = " camel.toolkits.async_browser_toolkit.AsyncBrowserToolkit._task_replanning"  ></a >
472- 
473- ### _ task_replanning 
474- 
475- ``` python 
476- def  _task_replanning (self  , task_prompt : str , detailed_plan : str ):
477- ``` 
478- 
479- Replan the task based on the given task prompt.
480- 
481- ** Parameters:** 
482- 
483- -  ** task_prompt**  (str): The original task prompt.
484- -  ** detailed_plan**  (str): The detailed plan to replan.
485- 
486- ** Returns:** 
487- 
488-   Tuple[ bool, str] : A tuple containing a boolean indicating
489- whether the task needs to be replanned, and the replanned
490- schema.
446+ Initialize the planning and web agents.
491447
492448<a  id = " camel.toolkits.async_browser_toolkit.AsyncBrowserToolkit.get_tools"  ></a >
493449
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments