Skip to content

fix: update maxRetries default and remove stale V1 extract examples#50

Open
eli-stewart wants to merge 8 commits into
nextfrom
fix/v2-sdk-corrections
Open

fix: update maxRetries default and remove stale V1 extract examples#50
eli-stewart wants to merge 8 commits into
nextfrom
fix/v2-sdk-corrections

Conversation

@eli-stewart
Copy link
Copy Markdown
Contributor

Summary

  • Update maxRetries default from 2 to 5 in client constructor and JSDoc, plus matching test assertion
  • Delete examples/extract/extract_end_to_end.ts and examples/extract/extract_manual_polling.ts which reference the removed client.extraction V1 API

Notes on scoped changes

Several other items were investigated but required no changes:

  • e2e extract tests: tests/e2e/extract.e2e.test.ts does not exist on the next branch
  • Split examples: split_end_to_end.ts and split_manual_polling.ts already pass categories and splitting_strategy at top-level, matching the current SplitCreateParams type. No configuration wrapper exists in the split types.
  • V2 extract JSDoc (src/resources/extract.ts): This file has no run() or waitForCompletion() methods, so no JSDoc to update. The V1 extraction/ files have JSDoc that correctly matches V1 types and are already marked @deprecated.

Test plan

  • npx jest tests/index.test.ts passes (51/51)
  • ./scripts/lint (build) completes with no TS errors

🤖 Generated with Claude Code

stainless-app Bot and others added 8 commits March 7, 2026 12:51
@logan-markewich logan-markewich changed the base branch from next to release-please--branches--main--changes--next--components--llama-cloud March 30, 2026 19:29
@logan-markewich logan-markewich changed the base branch from release-please--branches--main--changes--next--components--llama-cloud to next March 30, 2026 19:29
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