mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 21:05:19 +00:00
Merge pull request #14857 from Classic298/feat/code-interpreter-url-param
feat: Enable Code Interpreter using URL Parameter
This commit is contained in:
commit
37658e06a2
1 changed files with 4 additions and 0 deletions
|
|
@ -803,6 +803,10 @@
|
||||||
imageGenerationEnabled = true;
|
imageGenerationEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($page.url.searchParams.get('code-interpreter') === 'true') {
|
||||||
|
codeInterpreterEnabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
if ($page.url.searchParams.get('tools')) {
|
if ($page.url.searchParams.get('tools')) {
|
||||||
selectedToolIds = $page.url.searchParams
|
selectedToolIds = $page.url.searchParams
|
||||||
.get('tools')
|
.get('tools')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue