Skip to content

docs(sdk): explain threshold-aware stuck detection history - #1010

Draft
yuhengcai1 wants to merge 2 commits into
OpenHands:mainfrom
yuhengcai1:codex/stuck-detector-configured-window
Draft

yuhengcai1 wants to merge 2 commits into
OpenHands:mainfrom
yuhengcai1:codex/stuck-detector-configured-window

Conversation

@yuhengcai1

@yuhengcai1 yuhengcai1 commented Oct 26, 2026 •

Copy link
Copy Markdown
  • I have read and reviewed the documentation changes to the best of my ability.
  • If the change is significant, I have run the documentation site locally and confirmed it renders as expected.

Summary of changes

Explain how custom stuck-detection thresholds determine the Python detector's bounded recent-history window, why a threshold of 12 needs at least 24 events, and why new user input resets the pattern history. Clarify that parallel tool calls can further expand the action-error window, including with default thresholds.

Companion implementation: OpenHands/software-agent-sdk#6238. This draft follows that implementation and uses the same branch name.

Source verification:

Validation: source and native behavior checked as above; git diff --check passes. This only adds explanatory prose and changes no synced example, link, navigation, or component. The Mintlify site was not rendered locally.

Co-authored-by: openhands <openhands@all-hands.dev>
@mintlify

mintlify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 33cbf5a.

Approve preview

Co-authored-by: openhands <openhands@all-hands.dev>

This branch has not been deployed

No deployments
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