Skip to content

Commit

Permalink
Merge pull request #141 from Ali-AlDhamen/patch-1
Browse files Browse the repository at this point in the history
doc: edit function name
  • Loading branch information
anasfik authored Feb 21, 2024
2 parents bd532e7 + 56c590d commit 631ef20
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 @@ -424,7 +424,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 631ef20

Please sign in to comment.