Skip to content

Commit eb2a0b9

Browse files
chore: rename trace_status to log_status
1 parent cf0989a commit eb2a0b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/eval_utils/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export function overloadLog<T extends Flows | Prompts>(client: T): T {
144144
if (client instanceof Flows) {
145145
request = {
146146
...request,
147-
traceStatus: "complete",
147+
logStatus: "complete",
148148
};
149149
}
150150

@@ -640,7 +640,7 @@ function getLogFunction(
640640
return async (args: FlowLogRequest) =>
641641
await client.flows.log({
642642
...logRequest,
643-
traceStatus: "complete",
643+
logStatus: "complete",
644644
...args,
645645
});
646646
case "prompt":

src/otel/exporter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class HumanloopSpanExporter implements SpanExporter {
9393
flowChildrenSpanIds.delete(spanId);
9494
if (flowChildrenSpanIds.size === 0) {
9595
const flowLogId = this.spanIdToUploadedLogId.get(flowLogSpanId)!;
96-
this.client.flows.updateLog(flowLogId, { traceStatus: "complete" });
96+
this.client.flows.updateLog(flowLogId, { logStatus: "complete" });
9797
}
9898
break;
9999
}

0 commit comments

Comments
 (0)