mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
refac: url param tool_ids -> tools/tool-ids
This commit is contained in:
parent
3686cf7365
commit
58ca5e42c2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user