Skip to content

Commit

Permalink
Merge pull request #63 from outl1ne/Virtual-branch
Browse files Browse the repository at this point in the history
chore: Fix optional parameter in assistant method
  • Loading branch information
allantatter authored Aug 28, 2024
2 parents 1459825 + 4373110 commit bfca8de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Capabilities/Chat/Parameters/Messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function user(string|array $content, ?string $name = null): self
return $this;
}

public function assistant(string|array|null $content = null, ?string $name = null, ?array $toolCalls): self
public function assistant(string|array|null $content = null, ?string $name = null, ?array $toolCalls = null): self
{
$message = [
'role' => 'assistant',
Expand Down

0 comments on commit bfca8de

Please sign in to comment.