Skip to content

Commit 24923d8

Browse files
committed
Ensure gen_ai.chat spans contain sensible data for gen_ai.response.tool_calls
1 parent f520c2d commit 24923d8

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe('LangChain integration', () => {
179179
'gen_ai.response.id': expect.any(String),
180180
'gen_ai.response.model': expect.any(String),
181181
'gen_ai.response.stop_reason': 'tool_use',
182-
'gen_ai.response.tool_calls': expect.any(String),
182+
'gen_ai.response.tool_calls': expect.stringContaining('get_weather'),
183183
}),
184184
description: 'chat claude-3-5-sonnet-20241022',
185185
op: 'gen_ai.chat',

0 commit comments

Comments
 (0)