Skip to content

Commit 2f7b62f

Browse files
committed
test(AnthropicResponseParser): fix assertion for response ID in parsing test
Signed-off-by: liuhy <liuhongyu@apache.org>
1 parent c0b8a0e commit 2f7b62f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agentscope-core/src/test/java/io/agentscope/core/formatter/anthropic/AnthropicResponseParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ void testParseStreamEventUnknownType() throws Exception {
348348
ChatResponse response = invokeParseStreamEvent(event, startTime);
349349

350350
assertNotNull(response);
351-
assertNull(response.getId());
351+
assertNotNull(response.getId());
352352
assertTrue(response.getContent().isEmpty());
353353
assertNull(response.getUsage());
354354
}

0 commit comments

Comments
 (0)