Skip to content

Commit

Permalink
fix: Message interface
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Jul 10, 2024
1 parent 7de4fd8 commit db3f24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apis/chatCompletions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ interface FunctionCall {
}

interface Message {
role?: string;
content?: string;
role: string;
content: string | null;
function_call?: FunctionCall;
tool_calls?: Array<ToolCall>;
}
Expand Down

0 comments on commit db3f24c

Please sign in to comment.