Skip to content

Commit 62ede30

Browse files
OskarStarkchr-hertel
authored andcommitted
fix: array shape (#367)
1 parent c6e32b6 commit 62ede30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getSupportedTypes(?string $format): array
3838
/**
3939
* @param AssistantMessage $data
4040
*
41-
* @return array{role: 'assistant', content: string}
41+
* @return array{role: 'assistant', content?: string, tool_calls?: array<array<string, mixed>>}
4242
*/
4343
public function normalize(mixed $data, ?string $format = null, array $context = []): array
4444
{

0 commit comments

Comments
 (0)