fix: complete traces on idle, improve dashboard span/event/analytics views
This commit is contained in:
@@ -12,6 +12,7 @@ interface TraceData {
|
||||
metadata: Record<string, unknown>;
|
||||
costUsd: number | null;
|
||||
totalCost: number | null;
|
||||
totalTokens: number | null;
|
||||
decisionPoints: Array<{
|
||||
id: string;
|
||||
type: string;
|
||||
@@ -96,6 +97,8 @@ export default async function TraceDetailPage({ params }: TraceDetailPageProps)
|
||||
tags: trace.tags,
|
||||
metadata: trace.metadata,
|
||||
costUsd: trace.costUsd ?? trace.totalCost,
|
||||
totalTokens: trace.totalTokens ?? null,
|
||||
totalCost: trace.totalCost ?? null,
|
||||
}}
|
||||
decisionPoints={trace.decisionPoints}
|
||||
spans={trace.spans}
|
||||
|
||||
Reference in New Issue
Block a user