Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve max steps failure description #1296

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
improve max steps failure description
  • Loading branch information
LawyZheng committed Dec 2, 2024
commit bae9d4602dd93495dd2b12536ea990c1fb929136
2 changes: 1 addition & 1 deletion skyvern/forge/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1961,7 1961,7 @@ async def handle_completed_step(
page=page,
)
failure_reason = (
f"Reach the ({max_steps_per_run}) max steps. This may have failed because: {failure_reason}"
f"Reached the maximum steps ({max_steps_per_run}). Possible failure reasons: {failure_reason}"
)

await self.update_task(
Expand Down