We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5afedf commit a0c09e6Copy full SHA for a0c09e6
src/Responses/Chat/CreateResponseChoiceAnnotations.php
@@ -18,7 +18,7 @@ public static function from(array $attributes): self
18
{
19
$urlCitations = array_map(
20
fn (array $citation) => CreateResponseChoiceAnnotationsUrlCitations::from($citation['url_citation']),
21
- array_filter($attributes, fn (array $annotation) => $annotation['type'] === 'url_citation')
+ $attributes
22
);
23
24
return new self($urlCitations);
0 commit comments