[KongchangAI]
Product

OpenAI Node SDK

The official Node.js SDK provided by OpenAI for calling the OpenAI API, including features such as structured outputs.

Timeline (last 90 days)

Oct 18

Qwen Code uses the official OpenAI Node SDK and appends /chat/completions after OPENAI_BASE_URL, so the base URL must retain the /v1 path, otherwise most gateways return 404.

Unverified50%
Oct 18

When the server keeps returning 503, Qwen Code's default retry behavior is: the OpenAI SDK retries three times per attempt (backoff of about 0.4, 0.9, and 1.8 seconds), and Qwen Code's own retry loop repeats these groups at intervals of about 2, 3, 7, 14, 30, and 30 seconds, so seven groups totaling 28 requests take about 107 seconds, after which the CLI prints Retrying in 60s (attempt 1/10) and starts a new round.

Unverified50%
Oct 13

Both the Anthropic TypeScript SDK and the OpenAI Node SDK accept signal as an AbortSignal in per-request options to cancel requests.

Unverified50%

All Facts (3)

Source Articles