Skip to content

Commit d7bf27b

Browse files
Update UserItemType
1 parent 0126e4b commit d7bf27b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/lib/client.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
* @property {string|null} [previous_item_id]
7575
* @property {"message"} type
7676
* @property {ItemStatusType} status
77-
* @property {"system"} role
77+
* @property {"user"} role
7878
* @property {Array<InputTextContentType|InputAudioContentType>} content
7979
*/
8080
/**
@@ -385,7 +385,7 @@ export type UserItemType = {
385385
previous_item_id?: string | null;
386386
type: "message";
387387
status: ItemStatusType;
388-
role: "system";
388+
role: "user";
389389
content: Array<InputTextContentType | InputAudioContentType>;
390390
};
391391
export type AssistantItemType = {

dist/lib/client.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

lib/client.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ import { RealtimeUtils } from './utils.js';
9090
* @property {string|null} [previous_item_id]
9191
* @property {"message"} type
9292
* @property {ItemStatusType} status
93-
* @property {"system"} role
93+
* @property {"user"} role
9494
* @property {Array<InputTextContentType|InputAudioContentType>} content
9595
*/
9696

0 commit comments

Comments
 (0)