Skip to content

Commit

Permalink
Fixed initial messages property bug
Browse files Browse the repository at this point in the history
  • Loading branch information
greghunt committed Aug 8, 2024
1 parent e5230d7 commit 64bd992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/MessagesResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MessagesResource extends APIResource

private int $maxTokens;

private array $messages;
private array $messages = [];

private ?string $system = null;

Expand Down

0 comments on commit 64bd992

Please sign in to comment.