Skip to content

Commit

Permalink
Update types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
babaohuang committed Dec 14, 2023
1 parent dc51a97 commit cfda886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
export interface ChatMessagePart {
export interface ChatPart {
text: string;
}

export interface ChatMessage {
role: 'model' | 'user';
parts: ChatMessagePart[];
parts: ChatPart[];
}

export interface ErrorMessage {
Expand Down

0 comments on commit cfda886

Please sign in to comment.