Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
d40edc09
Commit
d40edc09
authored
Mar 09, 2024
by
Timothy J. Baek
Browse files
feat: hide litellm by default
parent
d9911451
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
152 additions
and
138 deletions
+152
-138
src/lib/components/chat/Settings/Models.svelte
src/lib/components/chat/Settings/Models.svelte
+152
-138
No files found.
src/lib/components/chat/Settings/Models.svelte
View file @
d40edc09
...
@@ -725,8 +725,20 @@
...
@@ -725,8 +725,20 @@
<div class=" space-y-3">
<div class=" space-y-3">
<div class="mt-2 space-y-3 pr-1.5">
<div class="mt-2 space-y-3 pr-1.5">
<div>
<div>
<div class=" mb-2 text-sm font-medium">Manage LiteLLM Models</div>
<div class="mb-2">
<div class="flex justify-between items-center text-xs">
<div class=" text-sm font-medium">Manage LiteLLM Models</div>
<button
class=" text-xs font-medium text-gray-500"
type="button"
on:click={() => {
showLiteLLM = !showLiteLLM;
}}>{showLiteLLM ? 'Hide' : 'Show'}</button
>
</div>
</div>
{#if showLiteLLM}
<div>
<div>
<div class="flex justify-between items-center text-xs">
<div class="flex justify-between items-center text-xs">
<div class=" text-sm font-medium">Add a model</div>
<div class=" text-sm font-medium">Add a model</div>
...
@@ -735,7 +747,8 @@
...
@@ -735,7 +747,8 @@
type="button"
type="button"
on:click={() => {
on:click={() => {
showLiteLLMParams = !showLiteLLMParams;
showLiteLLMParams = !showLiteLLMParams;
}}>{showLiteLLMParams ? 'Hide Additional Params' : 'Show Additional Params'}</button
}}
>{showLiteLLMParams ? 'Hide Additional Params' : 'Show Additional Params'}</button
>
>
</div>
</div>
</div>
</div>
...
@@ -896,6 +909,7 @@
...
@@ -896,6 +909,7 @@
</button>
</button>
</div>
</div>
</div>
</div>
{/if}
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment