Skip to content

feat: raise default maxSteps from 20 to 40 - #25

Open
alexander-gekov wants to merge 1 commit into
browserbase:mainfrom
alexander-gekov:rly-294-browserbase-test-a-higher-max-step-limit-for-n8n-connect
Open

alexander-gekov wants to merge 1 commit into
browserbase:mainfrom
alexander-gekov:rly-294-browserbase-test-a-higher-max-step-limit-for-n8n-connect

Conversation

@alexander-gekov

@alexander-gekov alexander-gekov commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Raise the default maxSteps for the Agent operation from 20 to 40.
  • Matches the n8n Connect gateway, which already forces maxSteps: 40. Users on their own API key now get the same default.

Why

At 20 steps, longer agent runs stop partway through a task. With 40 steps, runs continue until the task finishes or the session timeout ends them.

Linear: RLY-294

Test plan

  • Run an Agent task that needs more than 20 steps and check that it continues past step 20.
  • Check that a maxSteps value set explicitly on the node still overrides the default.

Made with Cursor

Lets longer agent runs continue until the session timeout instead of stopping around 20 steps.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alexander-gekov
alexander-gekov marked this pull request as ready for review September 24, 2026 15:32
@alexander-gekov

Copy link
Copy Markdown
Contributor Author

@shubh24 Hey, Shub, could you look at this PR, would appreciate a review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant