From a6a4a41a6244ecb03d9ac51d0567b6ee82a26a3e Mon Sep 17 00:00:00 2001 From: Adekunle Date: Wed, 9 Jul 2025 23:50:34 +0100 Subject: [PATCH] fix: make detail parameter optional in ResponseInputImage interface --- src/resources/responses/responses.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/responses/responses.ts b/src/resources/responses/responses.ts index adf2aafb1..813b9b408 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -2033,7 +2033,7 @@ export interface ResponseInputImage { * The detail level of the image to be sent to the model. One of `high`, `low`, or * `auto`. Defaults to `auto`. */ - detail: 'low' | 'high' | 'auto'; + detail?: 'low' | 'high' | 'auto'; /** * The type of the input item. Always `input_image`.