Skip to content

Automate browser based workflows with AI

remove HTML experiment (#335)

LawyZheng2e86b41beb53
diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.py
index f729468c7..f26dce5d7 100644
--- a/skyvern/forge/agent.py
+++ b/skyvern/forge/agent.py
@@ -676,13 +676,8 @@ class ForgeAgent:
LOG.info("Using Claude3 Sonnet prompt template for action extraction")
prompt_template = "extract-action-claude3-sonnet"
- element_tree_format = ElementTreeFormat.JSON
- if app.EXPERIMENTATION_PROVIDER.is_feature_enabled_cached(
- "USE_HTML_ELEMENT_TREE",
- task.workflow_run_id or task.task_id,
- properties={"organization_id": task.organization_id},
- ):
- element_tree_format = ElementTreeFormat.HTML
+ # TODO: we only use HTML element for now, introduce a way to swith in the future
+ element_tree_format = ElementTreeFormat.HTML
LOG.info(
"Building element tree",
task_id=task.task_id,