Timothy J. Baek 9 months ago
parent
commit
ed8c0b23a0
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/components/chat/Controls/Valves.svelte

+ 1 - 2
src/lib/components/chat/Controls/Valves.svelte

@@ -34,7 +34,6 @@
 	let debounceTimer;
 
 	const debounceSubmitHandler = async () => {
-		// debounce 1 second
 		if (debounceTimer) {
 			clearTimeout(debounceTimer);
 		}
@@ -42,7 +41,7 @@
 		// Set a new timer
 		debounceTimer = setTimeout(() => {
 			submitHandler();
-		}, 1000); // 1 second debounce
+		}, 500); // 0.5 second debounce
 	};
 
 	const getUserValves = async () => {