Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
romanventskus-u committed Mar 3, 2024
1 parent c459648 commit 556b076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/model/chat_complete/response/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ class Message {
role: json["role"] ?? "",
content: json["content"] ?? "",
functionCall: json["function_call"],
toolCalls: json["tools_call"],
toolCalls: json["tool_calls"],
);

Map<String, dynamic> toJson() => {
"role": role,
"content": content,
"function_call": functionCall,
"tools_call": toolCalls,
"tool_calls": toolCalls,
};
}

0 comments on commit 556b076

Please sign in to comment.