Skip to content

Commit b1f6760

Browse files
committed
Fix test assertion to use Google GenAI parts format instead of content format
1 parent 13b5958 commit b1f6760

File tree

1 file changed

+1
-1
lines changed
  • dev-packages/node-integration-tests/suites/tracing/google-genai

1 file changed

+1
-1
lines changed

dev-packages/node-integration-tests/suites/tracing/google-genai/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ describe('Google GenAI integration', () => {
662662
expect.objectContaining({
663663
data: expect.objectContaining({
664664
[GEN_AI_INPUT_MESSAGES_ATTRIBUTE]: JSON.stringify([
665-
{ role: 'user', content: [{ type: 'text', text: longContent }] },
665+
{ role: 'user', parts: [{ text: longContent }] },
666666
]),
667667
[GEN_AI_INPUT_MESSAGES_ORIGINAL_LENGTH_ATTRIBUTE]: 1,
668668
}),

0 commit comments

Comments
 (0)