Skip to content

Commit bb6e82c

Browse files
onematchfoxpeterj
andauthored
fix(ui): correct link to switch agent from within chat (#667)
Signed-off-by: Brian Fox <878612+onematchfox@users.noreply.github.com> Co-authored-by: Peter Jausovec <peterj@users.noreply.github.com>
1 parent b90ac74 commit bb6e82c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/sidebars/AgentSwitcher.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function AgentSwitcher({ currentAgent, allAgents }: AgentSwitcherProps) {
5555
<DropdownMenuItem
5656
key={agentRef}
5757
onClick={() => {
58-
router.push(`/agents/${id}/chat`);
58+
router.push(`/agents/${agentRef}/chat`);
5959
}}
6060
className="gap-2 p-2"
6161
>

0 commit comments

Comments
 (0)