diff --git a/README.md b/README.md
index 84c57304..ce46d8bf 100644
--- a/README.md
+++ b/README.md
@@ -132,6 +132,7 @@ Langtrace automatically captures traces from the following vendors:
| Groq | LLM | :x: | :white_check_mark: |
| Langchain | Framework | :x: | :white_check_mark: |
| LlamaIndex | Framework | :white_check_mark: | :white_check_mark: |
+| DSPy | Framework | :x: | :white_check_mark: |
| Pinecone | Vector Database | :white_check_mark: | :white_check_mark: |
| ChromaDB | Vector Database | :white_check_mark: | :white_check_mark: |
| QDrant | Vector Database | :x: | :white_check_mark: |
diff --git a/components/project/traces/trace-row.tsx b/components/project/traces/trace-row.tsx
index 660a2a98..2247880c 100644
--- a/components/project/traces/trace-row.tsx
+++ b/components/project/traces/trace-row.tsx
@@ -6,7 +6,7 @@ import {
convertTracesToHierarchy,
correctTimestampFormat,
} from "@/lib/trace_utils";
-import { calculatePriceFromUsage, formatDateTime } from "@/lib/utils";
+import { calculatePriceFromUsage, cn, formatDateTime } from "@/lib/utils";
import { ChevronDown, ChevronRight } from "lucide-react";
import { useState } from "react";
import { JsonView, allExpanded, defaultStyles } from "react-json-view-lite";
@@ -104,11 +104,10 @@ export const TraceRow = ({
return (
setCollapsed(!collapsed)}
>
@@ -149,14 +148,22 @@ export const TraceRow = ({
{model}
-
0 ? JSON.parse(prompts[0]) : []}
- className="flex items-center max-w-fit text-xs h-10 truncate overflow-y-scroll font-semibold col-span-2"
- />
- 0 ? JSON.parse(responses[0]) : []}
- className="flex items-center max-w-fit text-xs h-10 truncate overflow-y-scroll font-semibold col-span-2"
- />
+ {prompts?.length > 0 ? (
+
+ ) : (
+
+ )}
+ {responses?.length > 0 ? (
+
+ ) : (
+
+ )}
{userId}
{tokenCounts?.input_tokens || tokenCounts?.prompt_tokens}
@@ -199,6 +206,25 @@ export const TraceRow = ({
)}
)}
+
{!importTrace && (
{selectedTab === "logs" && (
@@ -233,32 +259,13 @@ export const TraceRow = ({
: "text-xs text-muted-foreground font-medium"
}
>
- Events
+ Events/Errors
{selectedTab === "events" && (
)}
)}
-
{langgraph && !importTrace && (