Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali-AlDhamen authored Dec 11, 2023
1 parent 1f8e675 commit 56c590d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ final chat = await OpenAI.instance.chat.create(
final message = chat.choices.first.message;
// Wether the message has a tool call.
if (message.hasToolCalls) {
if (message.haveToolCalls) {
final call = message.toolCalls!.first;
// Wether the tool call is the one we sent.
Expand Down

0 comments on commit 56c590d

Please sign in to comment.