diff --git a/src/pages/Chat/ChatToolbar.tsx b/src/pages/Chat/ChatToolbar.tsx index 3b7140c0..c42043f2 100644 --- a/src/pages/Chat/ChatToolbar.tsx +++ b/src/pages/Chat/ChatToolbar.tsx @@ -1,10 +1,10 @@ /** * Chat Toolbar - * Session selector, new session, refresh, and the workspace browser + * Session selector, question directory, and the workspace browser * entry point. Rendered in the Header when on the Chat page. */ import { useMemo } from 'react'; -import { RefreshCw, Bot, FolderTree, ListTree } from 'lucide-react'; +import { Bot, FolderTree, ListTree } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'; import { useChatStore } from '@/stores/chat'; @@ -27,8 +27,6 @@ export function ChatToolbar({ onToggleQuestionDirectory, workspaceAvailable = false, }: ChatToolbarProps = {}) { - const refresh = useChatStore((s) => s.refresh); - const loading = useChatStore((s) => s.loading); const currentAgentId = useChatStore((s) => s.currentAgentId); const agents = useAgentsStore((s) => s.agents); const openBrowser = useArtifactPanel((s) => s.openBrowser); @@ -97,24 +95,6 @@ export function ChatToolbar({
{t('questionDirectory.title')}
- {/* Refresh */} -{t('toolbar.refresh')}
-