Skip to content

docs: keep default SDK retries in runaway-agent recipe - #3

Merged
danrovito merged 1 commit into
mainfrom
docs/retry-advice
Nov 23, 2026
Merged

danrovito merged 1 commit into
mainfrom
docs/retry-advice

Conversation

@danrovito

Copy link
Copy Markdown
Member

The runaway-agent recipe no longer sets max_retries=0, to match the retry rule in OpenPike's docs (openpike/openpike#86).

  • loop.py: removed max_retries=0. OpenPike refuses blocked requests before any provider call, so the SDK's default retries cost nothing, and the script still stops when a 429 is not cleared.
  • README.md: the sentence about max_retries=0 now states the same rule.

Checks: npm run typecheck passes, ruff check . passes, python -m compileall -q sdks recipes passes.

The recipe no longer sets max_retries=0. OpenPike refuses blocked requests
before any provider call, so the SDK's default retries cost nothing, and
the agent stops on a block instead of looping.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
@danrovito
danrovito merged commit 7ca8ec7 into main Nov 23, 2026
3 checks passed
@danrovito
danrovito deleted the docs/retry-advice branch November 23, 2026 02:57
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