Skip to content

Commit 450d777

Browse files
docs: describe buffered JSON structure limit
1 parent 68916bd commit 450d777

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/sdk/configuration.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The pinned Codex bypasses HTTP proxies with `CODEX_SANDBOX=seatbelt`. To prevent
4343

4444
Use `NativeProvider(response_mode="buffered")` when the endpoint supports nonstreaming Responses and your application can wait for each complete model response. The SDK requests JSON over HTTP and delivers that response's output events after reading its full body. Tool calls start after that model response completes. Tool events remain available while tools execute, and subsequent model requests follow the normal tool loop.
4545

46-
Each buffered HTTP response body is limited to 64 MiB. Larger responses fail without retry; use streaming mode for such responses.
46+
Each buffered HTTP response body is limited to 64 MiB and one million structural characters (`{}[],:`) outside strings. Exceeding either limit fails without retry. Use streaming mode for larger responses.
4747

4848
Set the agent's `model` explicitly to a model that uses standard Responses. The current default model uses Responses Lite and cannot use buffered mode.
4949

0 commit comments

Comments
 (0)