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
c9137edf
Commit
c9137edf
authored
Jun 09, 2024
by
Timothy J. Baek
Browse files
refac
parent
d11c373c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+3
-1
No files found.
src/lib/components/chat/Chat.svelte
View file @
c9137edf
...
@@ -297,9 +297,11 @@
...
@@ -297,9 +297,11 @@
const
submitPrompt
=
async
(
userPrompt
,
_user
=
null
)
=>
{
const
submitPrompt
=
async
(
userPrompt
,
_user
=
null
)
=>
{
//
Reset
chat
input
textarea
//
Reset
chat
input
textarea
prompt
=
''
;
document
.
getElementById
(
'chat-textarea'
).
value
=
''
;
document
.
getElementById
(
'chat-textarea'
).
style
.
height
=
''
;
document
.
getElementById
(
'chat-textarea'
).
style
.
height
=
''
;
prompt
=
''
;
let
_responses
=
[];
let
_responses
=
[];
console
.
log
(
'submitPrompt'
,
$
chatId
);
console
.
log
(
'submitPrompt'
,
$
chatId
);
...
...
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