1- import { Alert , AlertDescription , AlertTitle } from "@/components/ui/alert" ;
1+ import { Alert , AlertDescription } from "@/components/ui/alert" ;
22import { Button } from "@/components/ui/button" ;
33import { Checkbox } from "@/components/ui/checkbox" ;
44import { Input } from "@/components/ui/input" ;
@@ -13,7 +13,7 @@ import {
1313 ListToolsResult ,
1414 Tool ,
1515} from "@modelcontextprotocol/sdk/types.js" ;
16- import { AlertCircle , Send } from "lucide-react" ;
16+ import { Send } from "lucide-react" ;
1717import { useEffect , useState } from "react" ;
1818import ListPane from "./ListPane" ;
1919import JsonView from "./JsonView" ;
@@ -27,7 +27,6 @@ const ToolsTab = ({
2727 setSelectedTool,
2828 toolResult,
2929 nextCursor,
30- error,
3130} : {
3231 tools : Tool [ ] ;
3332 listTools : ( ) => void ;
@@ -147,13 +146,7 @@ const ToolsTab = ({
147146 </ h3 >
148147 </ div >
149148 < div className = "p-4" >
150- { error ? (
151- < Alert variant = "destructive" >
152- < AlertCircle className = "h-4 w-4" />
153- < AlertTitle > Error</ AlertTitle >
154- < AlertDescription > { error } </ AlertDescription >
155- </ Alert >
156- ) : selectedTool ? (
149+ { selectedTool ? (
157150 < div className = "space-y-4" >
158151 < p className = "text-sm text-gray-600" >
159152 { selectedTool . description }
0 commit comments