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
807cfdec
Commit
807cfdec
authored
Jun 18, 2024
by
Timothy J. Baek
Browse files
fix
parent
31f768bf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+1
-1
src/lib/components/chat/MessageInput.svelte
src/lib/components/chat/MessageInput.svelte
+1
-1
No files found.
src/lib/components/chat/Chat.svelte
View file @
807cfdec
...
...
@@ -323,7 +323,7 @@
} else if (messages.length != 0 && messages.at(-1).done != true) {
// Response not done
console.log('wait');
} else if (files.length > 0 && files.filter((file) => file.status
=
== 'processed').length > 0) {
} else if (files.length > 0 && files.filter((file) => file.status
!
== 'processed').length > 0) {
// Upload not done
toast.error(
$i18n.t(
...
...
src/lib/components/chat/MessageInput.svelte
View file @
807cfdec
...
...
@@ -363,7 +363,7 @@
files = [
...files,
{
type: e?.detail?.type ?? '
doc
',
type: e?.detail?.type ?? '
file
',
...e.detail,
status: 'processed'
}
...
...
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