samsonDzealot commited on
Commit
980c18f
·
verified ·
1 Parent(s): 8a4745b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -94,7 +94,7 @@ class BasicAgent:
94
  {"role": "user", "content": question_text}
95
  ]
96
 
97
- max_loops = 20 # Prevent infinite loops
98
  for loop_count in range(max_loops):
99
  print(f"\nAgent Loop: {loop_count + 1}")
100
  llm_response = self._call_llm(conversation)
 
94
  {"role": "user", "content": question_text}
95
  ]
96
 
97
+ max_loops = 1000 # Prevent infinite loops
98
  for loop_count in range(max_loops):
99
  print(f"\nAgent Loop: {loop_count + 1}")
100
  llm_response = self._call_llm(conversation)