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")
|
LOG.info("Using Claude3 Sonnet prompt template for action extraction")
|
||||||
prompt_template = "extract-action-claude3-sonnet"
|
prompt_template = "extract-action-claude3-sonnet"
|
||||||
|
|
||||||
element_tree_format = ElementTreeFormat.JSON
|
# TODO: we only use HTML element for now, introduce a way to swith in the future
|
||||||
if app.EXPERIMENTATION_PROVIDER.is_feature_enabled_cached(
|
element_tree_format = ElementTreeFormat.HTML
|
||||||
"USE_HTML_ELEMENT_TREE",
|
|
||||||
task.workflow_run_id or task.task_id,
|
|
||||||
properties={"organization_id": task.organization_id},
|
|
||||||
):
|
|
||||||
element_tree_format = ElementTreeFormat.HTML
|
|
||||||
LOG.info(
|
LOG.info(
|
||||||
"Building element tree",
|
"Building element tree",
|
||||||
task_id=task.task_id,
|
task_id=task.task_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user