Skip to content

Commit

Permalink
fix langchain tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rochdev committed Jan 30, 2025
1 parent fb3f852 commit 457c833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dd-trace/test/llmobs/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function expectedLLMObsBaseEvent ({
const spanEvent = {
trace_id: MOCK_STRING,
span_id: spanId,
parent_id: parentId?.buffer ? fromBuffer(parentId) : (parentId || 'undefined'),
parent_id: typeof parentId === 'bigint' ? fromBuffer(parentId) : (parentId || 'undefined'),
name: spanName,
tags: expectedLLMObsTags({ span, tags, error, errorType, sessionId }),
start_ns: startNs,
Expand Down

0 comments on commit 457c833

Please sign in to comment.