rohitchandra commited on
Commit
dba87ef
·
1 Parent(s): d6ea378

upgraded recursion limit of RAG

Browse files
Files changed (1) hide show
  1. agents/rag_agent.py +1 -1
agents/rag_agent.py CHANGED
@@ -354,7 +354,7 @@ class AgenticRAGChat(ChatInterface):
354
  try:
355
  # Run the workflow
356
  # Run the workflow with increased recursion limit
357
- config = {"recursion_limit": 3} # Increased but reasonable limit
358
  result = self.graph.invoke(state, config=config)
359
 
360
  print("\n=== RAG QUERY COMPLETED ===")
 
354
  try:
355
  # Run the workflow
356
  # Run the workflow with increased recursion limit
357
+ config = {"recursion_limit": 30} # Increased but reasonable limit
358
  result = self.graph.invoke(state, config=config)
359
 
360
  print("\n=== RAG QUERY COMPLETED ===")