diff --git a/ui/src/components/sidebars/GroupedChats.tsx b/ui/src/components/sidebars/GroupedChats.tsx index 05e659b73..ab35d7f40 100644 --- a/ui/src/components/sidebars/GroupedChats.tsx +++ b/ui/src/components/sidebars/GroupedChats.tsx @@ -99,7 +99,7 @@ export default function GroupedChats({ agentName, agentNamespace, sessions }: Gr const handleNewChat = () => { // Force a full page reload instead of client-side navigation - window.location.href = `/agents/${agentName}/chat`; + window.location.href = `/agents/${agentNamespace}/${agentName}/chat`; }; const hasNoSessions = !groupedChats.today.length && !groupedChats.yesterday.length && !groupedChats.older.length;