Skip to content

Commit 6e6ffb8

Browse files
authored
refactor: UserMessage public properties (#309)
1 parent 1b41b79 commit 6e6ffb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ValueObjects/Messages/UserMessage.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class UserMessage implements Message
1919
* @param array<int, Text|Image|Document|OpenAIFile> $additionalContent
2020
*/
2121
public function __construct(
22-
protected readonly string $content,
23-
protected array $additionalContent = []
22+
public readonly string $content,
23+
public array $additionalContent = []
2424
) {
2525
$this->additionalContent[] = new Text($content);
2626
}

0 commit comments

Comments
 (0)