This description was created by Ellipsis for commit 07c955f7dba006d18a74391070a92ed246ec92c3
Summary:
Optimized SVG logic by introducing cleanup_element_tree_factory for context-aware element tree processing in skyvern/forge/agent_functions.py, updating its usage in agent.py and actions/handler.py.
Key points:
Introduced cleanup_element_tree_factory in skyvern/forge/agent_functions.py to create context-aware cleanup functions.
Replaced cleanup_element_tree with cleanup_element_tree_factory in skyvern/forge/agent.py and skyvern/webeye/actions/handler.py.
cleanup_element_tree_factory takes task, step, and organization as parameters for more flexible element tree processing.
Optimizes SVG logic by removing unnecessary data from element trees during web scraping and action handling.
Summary:
Optimized SVG logic by introducing
cleanup_element_tree_factory
for context-aware element tree processing inskyvern/forge/agent_functions.py
, updating its usage inagent.py
andactions/handler.py
.Key points:
cleanup_element_tree_factory
inskyvern/forge/agent_functions.py
to create context-aware cleanup functions.cleanup_element_tree
withcleanup_element_tree_factory
inskyvern/forge/agent.py
andskyvern/webeye/actions/handler.py
.cleanup_element_tree_factory
takestask
,step
, andorganization
as parameters for more flexible element tree processing.Generated with :heart: by ellipsis.dev