Skip to content

fix(runtime): remove the default step limit #760

Closed

Description

@Astro-Han

Part of #759.

Scope

  • Make maxSteps optional through the runtime and model adapter.
  • Omit step-based stopWhen when no limit is configured.
  • Keep explicit limits for CLI, programmatic, Harbor, and benchmark callers.
  • Remove assumptions that normal product turns default to 50 steps.

Acceptance criteria

  • Product turns have no step limit by default.
  • Explicit maxSteps values still stop the model loop.
  • Existing Harbor and benchmark profiles keep their configured budgets.
  • Tests cover unlimited default behavior and explicit overrides.

Out of scope

  • Adding the step_limit terminal reason.
  • Changing TUI or Desktop rendering.
  • Adding new timeout or doom-loop behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions