Skip to content

Commit 0f5a822

Browse files
committed
test: update integration-tests snapshots for metrics and usage
1 parent ed7a030 commit 0f5a822

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

packages/integration-tests/__tests__/defined-behavior/2-expected-use/__snapshots__/ai-conversation.ts.snap

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ exports[`AI Conversation Routes Messages Subscribe to messages 1`] = `
319319
"endpoint": undefined,
320320
"query": "
321321
subscription($conversationId: ID!) {
322-
onCreateAssistantResponseChatBot(conversationId: $conversationId) {id owner conversationId associatedUserMessageId contentBlockIndex contentBlockText contentBlockDeltaIndex contentBlockToolUse { toolUseId name input type } contentBlockDoneAtIndex stopReason errors { message errorType } p}
322+
onCreateAssistantResponseChatBot(conversationId: $conversationId) {id owner conversationId associatedUserMessageId contentBlockIndex contentBlockText contentBlockDeltaIndex contentBlockToolUse { toolUseId name input type } contentBlockDoneAtIndex stopReason errors { message errorType } metrics { latencyMs } usage { inputTokens outputTokens totalTokens } p}
323323
}
324324
",
325325
"variables": {
@@ -363,6 +363,14 @@ exports[`AI Conversation Routes Messages Subscribe to messages 2`] = `
363363
message
364364
errorType
365365
}
366+
metrics {
367+
latencyMs
368+
}
369+
usage {
370+
inputTokens
371+
outputTokens
372+
totalTokens
373+
}
366374
p
367375
}
368376
}

0 commit comments

Comments
 (0)