diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index e432575b2..853ad4c8c 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -354,7 +354,11 @@ if ($page.url.searchParams.get('q')) { prompt = $page.url.searchParams.get('q') ?? ''; - selectedToolIds = ($page.url.searchParams.get('tool_ids') ?? '') + selectedToolIds = ( + $page.url.searchParams.get('tools') ?? + $page.url.searchParams.get('tool-ids') ?? + '' + ) .split(',') .map((id) => id.trim()) .filter((id) => id);