remove HTML experiment (#335)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user