跳转到主要内容
2026/12/3 15:12 (UTC+8) · Docs Update · OpenAI 📄 Updated streaming keepalive, timeout, and truncation guides for gpt-5.5 high-effort calls on /v1/responses On olympiad proofs and complex algorithmic workloads, gpt-5.5 at high / xhigh effort routinely spends 33,000–65,000 reasoning_tokens in a single call (roughly 7–19 minutes). Without reasoning.summary: "auto", the thinking phase emits no visible text; with max_output_tokens set to 65000, internal deliberation can exhaust the entire budget and end with status: "incomplete" and an empty answer. In addition, Python openai SDK v3+ switched internally to httpx2, so passing httpx.Timeout raises a TypeError. Measured through the APIYI gateway, /v1/responses streams forward a keepalive event every 30 seconds during silent thinking (GET /v1/responses/{id} returns 400 on APIYI, so do not use background: true polling). For long reasoning tasks, enable stream=True + reasoning={"effort": "high", "summary": "auto"}, configure from openai import Timeout with read=120–300 seconds and max_retries=0, raise max_output_tokens to 100000–128000, and explicitly handle response.incomplete. See the updated guides in OpenAI Responses Native API, Why Reasoning Models Return Empty Content, Long-form Output Practices, and How to Avoid API Timeouts.
← Back to Live Updates · 📚 Monthly archive