Fix ruff config: consolidate into pyproject.toml (#4755)

Co-authored-by: Suchintan Singh <suchintan@skyvern.com>
This commit is contained in:
Suchintan
2026-02-14 23:57:37 -05:00
committed by GitHub
parent 757e859c7c
commit b1e5eb9268
12 changed files with 435 additions and 828 deletions

View File

@@ -4166,8 +4166,10 @@ class ForgeAgent:
# Check for LLM provider errors in the failed steps
for step_cnt, cur_step in enumerate(steps[-max_retries:]):
if cur_step.status == StepStatus.failed:
# If step failed with no actions, it might be an LLM error during action extraction
if not cur_step.output or not cur_step.output.actions_and_results:
# Only count steps where the LLM call itself failed (no output at all).
# Steps with output but empty actions mean the LLM worked fine but found
# nothing to interact with — those fall through to normal summarization.
if not cur_step.output:
steps_without_actions += 1
if cur_step.output and cur_step.output.actions_and_results: