Skip to content

Commit 92543d2

Browse files
authored
Update AssistantResponseToolFunctionFunction.php
Changed type of the description prop to nullable
1 parent 288325a commit 92543d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Responses/Assistants/AssistantResponseToolFunctionFunction.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
final class AssistantResponseToolFunctionFunction implements ResponseContract
1515
{
1616
/**
17-
* @use ArrayAccessible<array{description: string, name: string, parameters: array<string, mixed>}>
17+
* @use ArrayAccessible<array{description: string|null, name: string, parameters: array<string, mixed>}>
1818
*/
1919
use ArrayAccessible;
2020

@@ -24,7 +24,7 @@ final class AssistantResponseToolFunctionFunction implements ResponseContract
2424
* @param array<string, mixed> $parameters
2525
*/
2626
private function __construct(
27-
public string $description,
27+
public string|null $description,
2828
public string $name,
2929
public array $parameters,
3030
) {}

0 commit comments

Comments
 (0)