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
bb15eb01
"git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "6a92652ca1fa6dd203c326d6dc2ca5c3080a0921"
Commit
bb15eb01
authored
Jun 09, 2024
by
Timothy J. Baek
Browse files
fix: message input delay
parent
cc53fd83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+5
-4
No files found.
src/lib/components/chat/Chat.svelte
View file @
bb15eb01
...
@@ -294,10 +294,14 @@
...
@@ -294,10 +294,14 @@
};
};
//////////////////////////
//////////////////////////
//
Ollama
functions
//
Chat
functions
//////////////////////////
//////////////////////////
const
submitPrompt
=
async
(
userPrompt
,
_user
=
null
)
=>
{
const
submitPrompt
=
async
(
userPrompt
,
_user
=
null
)
=>
{
//
Reset
chat
input
textarea
prompt
=
''
;
document
.
getElementById
(
'chat-textarea'
).
style
.
height
=
''
;
let
_responses
=
[];
let
_responses
=
[];
console
.
log
(
'submitPrompt'
,
$
chatId
);
console
.
log
(
'submitPrompt'
,
$
chatId
);
...
@@ -374,9 +378,6 @@
...
@@ -374,9 +378,6 @@
await
tick
();
await
tick
();
}
}
//
Reset
chat
input
textarea
prompt
=
''
;
document
.
getElementById
(
'chat-textarea'
).
style
.
height
=
''
;
files
=
[];
files
=
[];
//
Send
prompt
//
Send
prompt
...
...
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