From cb2862db136494e90b31d5cdff8d5ae2f27ad08c Mon Sep 17 00:00:00 2001 From: davidchicano <80907533+davidchicano@users.noreply.github.com> Date: Thu, 20 Mar 2025 13:11:38 +0100 Subject: [PATCH] fix(types): name shouldn't be optional for response's structured outputs --- 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 b90d415bd..b2e23e9e8 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -1377,7 +1377,7 @@ export interface ResponseFormatTextJSONSchemaConfig { * The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores * and dashes, with a maximum length of 64. */ - name?: string; + name: string; /** * Whether to enable strict schema adherence when generating the output. If set to