samsonDzealot commited on
Commit
e5131d1
·
verified ·
1 Parent(s): 2d4c66c

Update app.py

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