mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2025-09-02 18:50:24 +00:00
improve max steps failure description (#1296)
This commit is contained in:
parent
0b2252ddf7
commit
6c1b2a6328
1 changed files with 3 additions and 2 deletions
|
@ -1960,8 +1960,9 @@ class ForgeAgent:
|
||||||
step=step,
|
step=step,
|
||||||
page=page,
|
page=page,
|
||||||
)
|
)
|
||||||
if not failure_reason:
|
failure_reason = (
|
||||||
failure_reason = f"Max steps per task ({max_steps_per_run}) exceeded"
|
f"Reached the maximum steps ({max_steps_per_run}). Possible failure reasons: {failure_reason}"
|
||||||
|
)
|
||||||
|
|
||||||
await self.update_task(
|
await self.update_task(
|
||||||
task,
|
task,
|
||||||
|
|
Loading…
Add table
Reference in a new issue