diff --git a/src/core/pagination.ts b/src/core/pagination.ts index 9bef26447..ffe36de65 100644 --- a/src/core/pagination.ts +++ b/src/core/pagination.ts @@ -154,7 +154,7 @@ export interface CursorPageParams { limit?: number; } -export class CursorPage +export class CursorPage extends AbstractPage implements CursorPageResponse { diff --git a/src/resources/responses/responses.ts b/src/resources/responses/responses.ts index ad4b52281..9dbf22d9c 100644 --- a/src/resources/responses/responses.ts +++ b/src/resources/responses/responses.ts @@ -3557,7 +3557,7 @@ export interface ResponseInputMessageItem { /** * The unique ID of the message input. */ - id: string; + id?: string; /** * A list of one or many input items to the model, containing different content