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
ed8c0b23
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "b4bdea6d85047e58aeab80941d9a1ac78e61f0b7"
Commit
ed8c0b23
authored
Aug 02, 2024
by
Timothy J. Baek
Browse files
refac
parent
c8f44b73
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/lib/components/chat/Controls/Valves.svelte
src/lib/components/chat/Controls/Valves.svelte
+1
-2
No files found.
src/lib/components/chat/Controls/Valves.svelte
View file @
ed8c0b23
...
@@ -34,7 +34,6 @@
...
@@ -34,7 +34,6 @@
let debounceTimer;
let debounceTimer;
const debounceSubmitHandler = async () => {
const debounceSubmitHandler = async () => {
// debounce 1 second
if (debounceTimer) {
if (debounceTimer) {
clearTimeout(debounceTimer);
clearTimeout(debounceTimer);
}
}
...
@@ -42,7 +41,7 @@
...
@@ -42,7 +41,7 @@
// Set a new timer
// Set a new timer
debounceTimer = setTimeout(() => {
debounceTimer = setTimeout(() => {
submitHandler();
submitHandler();
},
10
00); //
1
second debounce
},
5
00); //
0.5
second debounce
};
};
const getUserValves = async () => {
const getUserValves = async () => {
...
...
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