Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 7a0fbc5

Browse files
authored
fix: array shape (#367)
1 parent 929a7c1 commit 7a0fbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Platform/Contract/Normalizer/Message/AssistantMessageNormalizer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function getSupportedTypes(?string $format): array
3131
/**
3232
* @param AssistantMessage $data
3333
*
34-
* @return array{role: 'assistant', content: string}
34+
* @return array{role: 'assistant', content?: string, tool_calls?: array<array<string, mixed>>}
3535
*/
3636
public function normalize(mixed $data, ?string $format = null, array $context = []): array
3737
{

0 commit comments

Comments
 (0)