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
aa8d2649
Unverified
Commit
aa8d2649
authored
Aug 01, 2024
by
Simon
Committed by
GitHub
Aug 01, 2024
Browse files
Merge branch 'open-webui:dev' into dev
parents
25f5259e
4ffcabfb
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
709 additions
and
714 deletions
+709
-714
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/chat/Messages/ResponseMessage.svelte
+1
-1
src/lib/components/chat/Messages/ResponseMessage/WebSearchResults.svelte
...nts/chat/Messages/ResponseMessage/WebSearchResults.svelte
+4
-1
src/lib/components/common/Collapsible.svelte
src/lib/components/common/Collapsible.svelte
+0
-8
src/lib/i18n/locales/pt-BR/translation.json
src/lib/i18n/locales/pt-BR/translation.json
+704
-704
No files found.
src/lib/components/chat/Messages/ResponseMessage.svelte
View file @
aa8d2649
...
...
@@ -436,7 +436,7 @@
{@const status = (
message?.statusHistory ?? [...(message?.status ? [message?.status] : [])]
).at(-1)}
<div class="flex items-center gap-2 pt-
1
pb-1">
<div class="flex items-center gap-2 pt-
0.5
pb-1">
{#if status.done === false}
<div class="">
<Spinner className="size-4" />
...
...
src/lib/components/chat/Messages/ResponseMessage/WebSearchResults.svelte
View file @
aa8d2649
...
...
@@ -20,7 +20,10 @@
<ChevronDown strokeWidth="3.5" className="size-3.5 " />
{/if}
</div>
<div class="text-sm border border-gray-300/30 dark:border-gray-700/50 rounded-xl" slot="content">
<div
class="text-sm border border-gray-300/30 dark:border-gray-700/50 rounded-xl mb-1.5"
slot="content"
>
{#if status?.query}
<a
href="https://www.google.com/search?q={status.query}"
...
...
src/lib/components/common/Collapsible.svelte
View file @
aa8d2649
...
...
@@ -29,18 +29,10 @@
</button>
{:else}
<button on:click={() => (open = !open)}>
<slot />
<div
class="flex items-center gap-2 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition"
>
<slot />
{#if open}
<ChevronUp strokeWidth="3.5" className="size-3.5 " />
{:else}
<ChevronDown strokeWidth="3.5" className="size-3.5 " />
{/if}
</div>
</button>
{/if}
...
...
src/lib/i18n/locales/pt-BR/translation.json
View file @
aa8d2649
This diff is collapsed.
Click to expand it.
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