Skip to content

Commit bd0ea2d

Browse files
authored
fix for 657 (#658)
Signed-off-by: Kasun Talwatta <kasun.talwatta@gmail.com>
1 parent ecf596b commit bd0ea2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/sidebars/GroupedChats.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default function GroupedChats({ agentName, agentNamespace, sessions }: Gr
9999

100100
const handleNewChat = () => {
101101
// Force a full page reload instead of client-side navigation
102-
window.location.href = `/agents/${agentName}/chat`;
102+
window.location.href = `/agents/${agentNamespace}/${agentName}/chat`;
103103
};
104104

105105
const hasNoSessions = !groupedChats.today.length && !groupedChats.yesterday.length && !groupedChats.older.length;

0 commit comments

Comments
 (0)