Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Fixes typo in insights view

elijahbenizzy8a3d91a70988
diff --git a/telemetry/ui/src/components/routes/app/InsightsView.tsx b/telemetry/ui/src/components/routes/app/InsightsView.tsx
index 274d95fe..7154b417 100644
--- a/telemetry/ui/src/components/routes/app/InsightsView.tsx
+++ b/telemetry/ui/src/components/routes/app/InsightsView.tsx
@@ -143,7 +143,7 @@ const gatherCostAttributes = (allAttributes: AttributeModel[]): CostAttributeMod
const currentValue = acc.get(attribute.span_id || '') || { prompt: 0, completion: 0 };
acc.set(attribute.span_id || '', {
prompt: currentValue.prompt + (attribute.value as number),
- completion: currentValue.prompt
+ completion: currentValue.completion
});
}
return acc;