File size: 551 Bytes
c2ea5ed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import React from "react";
import { FileText } from "lucide-react";
import { Button } from "@/components/ui/button";
import { useAgentGraph } from "@/context/AgentGraphContext";

export function ExampleTraceSection() {
  const { actions } = useAgentGraph();

  return (
    <div className="space-y-2">
      <Button
        onClick={() => actions.setActiveView("example-traces")}
        className="w-full justify-start gap-2"
        size="lg"
      >
        <FileText className="h-4 w-4" />
        Example Traces
      </Button>
    </div>
  );
}