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
3101ff14
"vscode:/vscode.git/clone" did not exist on "4d2c981d551566961bbc7254ae9556d76dd95764"
Commit
3101ff14
authored
Jun 20, 2024
by
Timothy J. Baek
Browse files
refac: disable continuing with error message
parent
f14ca483
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+7
-0
No files found.
src/lib/components/chat/Chat.svelte
View file @
3101ff14
...
@@ -323,6 +323,13 @@
...
@@ -323,6 +323,13 @@
} else if (messages.length != 0 && messages.at(-1).done != true) {
} else if (messages.length != 0 && messages.at(-1).done != true) {
// Response not done
// Response not done
console.log('wait');
console.log('wait');
} else if (messages.length != 0 && messages.at(-1).error) {
// Error in response
toast.error(
$i18n.t(
`Oops! There was an error in the previous response. Please try again or contact admin.`
)
);
} else if (
} else if (
files.length > 0 &&
files.length > 0 &&
files.filter((file) => file.type !== 'image' && file.status !== 'processed').length > 0
files.filter((file) => file.type !== 'image' && file.status !== 'processed').length > 0
...
...
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