Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(trace-detail): nested observations not expanded in timeline (#8965)

Leo Weigand4341b37ef32a
diff --git a/web/src/components/trace/index.tsx b/web/src/components/trace/index.tsx
index 8a55016168..3cab63baa6 100644
--- a/web/src/components/trace/index.tsx
+++ b/web/src/components/trace/index.tsx
@@ -251,7 +251,10 @@ export function Trace(props: {
const [expandedItems, setExpandedItems] = useSessionStorage<string[]>(
`${props.trace.id}-expanded`,
- [`trace-${props.trace.id}`],
+ [
+ `trace-${props.trace.id}`,
+ ...getNestedObservationKeys(props.observations),
+ ],
);
// Build UI data once