Skip to content

Commit 3898ea5

Browse files
committed
.
1 parent c03d9e0 commit 3898ea5

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

typescript/src/tracing/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export interface TraceApi {
101101
threadId?: string;
102102
userId?: string;
103103
testCaseId?: string;
104+
testRunId?: string;
104105
turnId?: string;
105106
input?: any;
106107
output?: any;

typescript/src/tracing/tracing.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ export interface Trace {
270270
threadId?: string;
271271
userId?: string;
272272
testCaseId?: string;
273+
testRunId?: string;
273274
turnId?: string;
274275
input?: any;
275276
output?: any;
@@ -797,6 +798,7 @@ export class TraceManager {
797798
threadId: trace.threadId,
798799
userId: trace.userId,
799800
testCaseId: trace.testCaseId,
801+
testRunId: trace.testRunId,
800802
turnId: trace.turnId,
801803
input: trace.input,
802804
output: trace.output,
@@ -1447,6 +1449,7 @@ export interface UpdateCurrentTraceParams {
14471449
threadId?: string;
14481450
userId?: string;
14491451
testCaseId?: string;
1452+
testRunId?: string;
14501453
turnId?: string;
14511454
input?: any;
14521455
output?: any;
@@ -1469,6 +1472,7 @@ export const updateCurrentTrace = ({
14691472
threadId,
14701473
userId,
14711474
testCaseId,
1475+
testRunId,
14721476
turnId,
14731477
input,
14741478
output,
@@ -1516,6 +1520,9 @@ export const updateCurrentTrace = ({
15161520
if (testCaseId !== undefined) {
15171521
currentTrace.testCaseId = testCaseId;
15181522
}
1523+
if (testRunId !== undefined) {
1524+
currentTrace.testRunId = testRunId;
1525+
}
15191526
if (turnId !== undefined) {
15201527
currentTrace.turnId = turnId;
15211528
}

0 commit comments

Comments
 (0)