mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-28 03:30:10 +00:00
fix(SKY-9193): halve element_fallback max_steps from 10 to 5 (#5631)
This commit is contained in:
parent
eaf0783d37
commit
f70b4cc6f3
3 changed files with 4 additions and 4 deletions
|
|
@ -806,7 +806,7 @@ class RealSkyvernPageAi(SkyvernPageAi):
|
|||
async def ai_element_fallback(
|
||||
self,
|
||||
navigation_goal: str,
|
||||
max_steps: int = 10,
|
||||
max_steps: int = 5,
|
||||
) -> None:
|
||||
"""Activate the AI agent from the CURRENT page position to achieve a navigation goal.
|
||||
|
||||
|
|
|
|||
|
|
@ -3213,7 +3213,7 @@ class SkyvernPage(Page):
|
|||
async def element_fallback(
|
||||
self,
|
||||
navigation_goal: str,
|
||||
max_steps: int = 10,
|
||||
max_steps: int = 5,
|
||||
) -> None:
|
||||
"""Activate the AI agent from the CURRENT page position to achieve a goal.
|
||||
|
||||
|
|
@ -3223,7 +3223,7 @@ class SkyvernPage(Page):
|
|||
|
||||
Args:
|
||||
navigation_goal: The goal for the AI agent to achieve from the current page.
|
||||
max_steps: Maximum number of agent steps before giving up. Defaults to 10.
|
||||
max_steps: Maximum number of agent steps before giving up. Defaults to 5.
|
||||
|
||||
Raises:
|
||||
Exception: If the element fallback fails or exceeds max_steps.
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ class SkyvernPageAi(Protocol):
|
|||
async def ai_element_fallback(
|
||||
self,
|
||||
navigation_goal: str,
|
||||
max_steps: int = 10,
|
||||
max_steps: int = 5,
|
||||
) -> None:
|
||||
"""Activate the AI agent from the CURRENT page position to achieve a navigation goal.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue