Skip to content

Commit 31a1be6

Browse files
committed
Fix TypeError in AssistantMessageNormalizer when toolCalls is null
1 parent 0063c6e commit 31a1be6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/tests/Bridge/Anthropic/Contract/AssistantMessageNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function testNormalize(AssistantMessage $message, array $expectedOutput)
5555

5656
$normalized = $normalizer->normalize($message);
5757

58-
$this->assertSame($expectedOutput, $normalized);
58+
$this->assertEquals($expectedOutput, $normalized);
5959
}
6060

6161
/**

0 commit comments

Comments
 (0)