remove log: Building element tree (#685)

This commit is contained in:
Shuchang Zheng
2024-08-07 16:23:20 -07:00
committed by GitHub
parent c872b1e4a8
commit 9fd096c385
2 changed files with 0 additions and 14 deletions

View File

@@ -955,13 +955,6 @@ class ForgeAgent:
)
# TODO: we only use HTML element for now, introduce a way to switch in the future
element_tree_format = ElementTreeFormat.HTML
LOG.info(
"Building element tree",
task_id=task.task_id,
workflow_run_id=task.workflow_run_id,
format=element_tree_format,
)
element_tree_in_prompt: str = scraped_page.build_element_tree(element_tree_format)
extract_action_prompt = await self._build_extract_action_prompt(
task,

View File

@@ -1269,13 +1269,6 @@ async def extract_information_for_navigation_goal(
# TODO: we only use HTML element for now, introduce a way to switch in the future
element_tree_format = ElementTreeFormat.HTML
LOG.info(
"Building element tree",
task_id=task.task_id,
workflow_run_id=task.workflow_run_id,
format=element_tree_format,
)
element_tree_in_prompt: str = scraped_page.build_element_tree(element_tree_format)
extract_information_prompt = prompt_engine.load_prompt(