🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
Collapsed I/O on observations
Marc Klingenb7bc152b8ce7
diff --git a/src/components/trace/ObservationPreview.tsx b/src/components/trace/ObservationPreview.tsxindex 2730aa9695..9661c654f9 100644--- a/src/components/trace/ObservationPreview.tsx+++ b/src/components/trace/ObservationPreview.tsx@@ -83,12 +83,12 @@ export const ObservationPreview = (props: {<JSONViewtitle={observation.type === "GENERATION" ? "Prompt" : "Input"}json={observation.input}- scrollable+ defaultCollapsed/><JSONViewtitle={observation.type === "GENERATION" ? "Completion" : "Output"}json={observation.output}- scrollable+ defaultCollapsed/><JSONView title="Status Message" json={observation.statusMessage} /><JSONView title="Metadata" json={observation.metadata} />diff --git a/src/components/ui/code.tsx b/src/components/ui/code.tsxindex b6c1f9621d..2b661a967b 100644--- a/src/components/ui/code.tsx+++ b/src/components/ui/code.tsx@@ -111,7 +111,7 @@ export function CodeView(props: {<codeclassName={cn("relative flex-1 whitespace-pre-wrap break-all px-4 py-3 font-mono text-xs",- isCollapsed ? `line-clamp-4` : "block",+ isCollapsed ? `line-clamp-6` : "block",props.scrollable ? "max-h-60 overflow-y-scroll" : undefined)}>