Skip to content

PLAT-9436: Document the thinking parameter in the Node.js SDK - #82

Open
FelipeG2000 wants to merge 1 commit into
mainfrom
feature/PLAT-9436_thinking-parameter
Open

FelipeG2000 wants to merge 1 commit into
mainfrom
feature/PLAT-9436_thinking-parameter

Conversation

@FelipeG2000

Copy link
Copy Markdown

What

Documents the thinking option ('light' or 'deep') of the process_document* methods. It already reaches the API through their extra parameters; this adds it to the JSDoc, the TypeScript extra args type and the README. It only takes effect if thinking mode is enabled for the account.

Tests

  • Unit tests for process_document, process_document_from_base64, process_document_from_stream and process_document_from_url, with and without thinking.
  • Also ran real documents through the SDK with light and deep against a test environment, and the server confirmed both modes ran.

Replaces #81 (same commit; the branch now lives in this repo so CI can start).

🤖 Generated with Claude Code

Add thinking ("light" or "deep") to the JSDoc of the process_document methods
and to the TypeScript extra args type, plus a README example and tests.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

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.

2 participants