diff --git a/apps/web/src/components/v2/default-view.tsx b/apps/web/src/components/v2/default-view.tsx index 58ef16b2..d49d224e 100644 --- a/apps/web/src/components/v2/default-view.tsx +++ b/apps/web/src/components/v2/default-view.tsx @@ -3,7 +3,6 @@ import { Button } from "@/components/ui/button"; import { Card, CardContent } from "@/components/ui/card"; import { FilePlus2, Archive, Zap } from "lucide-react"; import { useRouter } from "next/navigation"; -import { ThreadMetadata } from "./types"; import { TerminalInput } from "./terminal-input"; import { useFileUpload } from "@/hooks/useFileUpload"; import { cn } from "@/lib/utils"; @@ -31,14 +30,17 @@ import { Thread } from "@langchain/langgraph-sdk"; import { ManagerGraphState } from "@open-swe/shared/open-swe/manager/types"; import { useState, useMemo } from "react"; import { threadsToMetadata } from "@/lib/thread-utils"; -import { Settings } from "lucide-react"; +import { Settings, BookOpen } from "lucide-react"; import NextLink from "next/link"; function OpenSettingsButton() { return ( - + @@ -49,6 +51,30 @@ function OpenSettingsButton() { ); } +const DOCUMENTATION_URL = "https://docs.langchain.com/labs/swe"; + +function OpenDocumentationButton() { + return ( + + + + + + + + Open Documentation + + + ); +} + interface DefaultViewProps { threads: Thread[]; threadsLoading: boolean; @@ -106,6 +132,7 @@ export function DefaultView({ threads, threadsLoading }: DefaultViewProps) { ready
+