0xKirito commited on
Commit
d187741
·
verified ·
1 Parent(s): a992a9a

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +1 -8
index.html CHANGED
@@ -887,7 +887,7 @@ class EnhancedAgentSystem {
887
 
888
  this.updateUI();
889
  return task;
890
- }
891
 
892
  async processNextTask() {
893
  if (this.processingQueue) return; // Prevent multiple simultaneous processing
@@ -939,13 +939,6 @@ class EnhancedAgentSystem {
939
 
940
  this.processingQueue = false; // Reset processing flag
941
  this.updateUI();
942
-
943
- // Continue processing next task
944
- setTimeout(() => this.processNextTask(), 1000);
945
- }
946
- });
947
-
948
- }
949
 
950
  startSystemMonitoring() {
951
  setInterval(() => {
 
887
 
888
  this.updateUI();
889
  return task;
890
+ // FIXED VERSION - Replace the processNextTask method with this corrected version
891
 
892
  async processNextTask() {
893
  if (this.processingQueue) return; // Prevent multiple simultaneous processing
 
939
 
940
  this.processingQueue = false; // Reset processing flag
941
  this.updateUI();
 
 
 
 
 
 
 
942
 
943
  startSystemMonitoring() {
944
  setInterval(() => {