diff --git a/src/components/thread/index.tsx b/src/components/thread/index.tsx index 49d96f4..3c4cafd 100644 --- a/src/components/thread/index.tsx +++ b/src/components/thread/index.tsx @@ -14,7 +14,7 @@ import { } from "@/lib/ensure-tool-responses"; import { LangGraphLogoSVG } from "../icons/langgraph"; import { TooltipIconButton } from "./tooltip-icon-button"; -import { ArrowDown, SquarePen } from "lucide-react"; +import { ArrowDown, LoaderCircle, SquarePen } from "lucide-react"; import { StringParam, useQueryParam } from "use-query-params"; import { StickToBottom, useStickToBottomContext } from "use-stick-to-bottom"; @@ -211,12 +211,19 @@ export function Thread() { />
- + {stream.isLoading ? ( + + ) : ( + + )}