prithivMLmods commited on
Commit
59d9c9e
·
verified ·
1 Parent(s): 43f8579

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -527,8 +527,8 @@ def generate(
527
  return
528
 
529
  # --- rAgent Reasoning branch ---
530
- if text.strip().lower().startswith("@rAgent"):
531
- prompt = text[len("@rAgent"):].strip()
532
  yield "📝 Initiating reasoning chain using Llama mode..."
533
  # Pass the current chat history (cleaned) to help inform the chain.
534
  for partial in ragent_reasoning(prompt, clean_chat_history(chat_history)):
 
527
  return
528
 
529
  # --- rAgent Reasoning branch ---
530
+ if text.strip().lower().startswith("@ragent"):
531
+ prompt = text[len("@ragent"):].strip()
532
  yield "📝 Initiating reasoning chain using Llama mode..."
533
  # Pass the current chat history (cleaned) to help inform the chain.
534
  for partial in ragent_reasoning(prompt, clean_chat_history(chat_history)):