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
db3b0757
Commit
db3b0757
authored
Jun 11, 2024
by
Timothy J. Baek
Browse files
refac: input menu tools
parent
0bb26ae5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
19 deletions
+22
-19
src/lib/components/chat/MessageInput/InputMenu.svelte
src/lib/components/chat/MessageInput/InputMenu.svelte
+22
-19
No files found.
src/lib/components/chat/MessageInput/InputMenu.svelte
View file @
db3b0757
...
...
@@ -46,6 +46,7 @@
transition={flyAndScale}
>
{#if Object.keys(tools).length > 0}
<div class=" max-h-28 overflow-y-auto scrollbar-hidden">
{#each Object.keys(tools) as toolId}
<div
class="flex gap-2 items-center px-3 py-2 text-sm font-medium cursor-pointer rounded-xl"
...
...
@@ -68,6 +69,8 @@
/>
</div>
{/each}
</div>
<hr class="border-gray-100 dark:border-gray-800 my-1" />
{/if}
...
...
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