prithivMLmods commited on
Commit
6d8a748
·
verified ·
1 Parent(s): a5eda96

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -181,7 +181,7 @@ class VisitWebpageTool(Tool):
181
  except Exception as e:
182
  return f"An unexpected error occurred: {str(e)}"
183
 
184
- # New Feature: rAgent Reasoning using Llama mode OpenAI
185
 
186
  from openai import OpenAI
187
 
@@ -496,7 +496,7 @@ def generate(
496
  # --- rAgent Reasoning branch ---
497
  if text.strip().lower().startswith("@ragent"):
498
  prompt = text[len("@ragent"):].strip()
499
- yield "Initiating reasoning chain using Llama mode..."
500
  # Pass the current chat history (cleaned) to help inform the chain.
501
  for partial in ragent_reasoning(prompt, clean_chat_history(chat_history)):
502
  yield partial
 
181
  except Exception as e:
182
  return f"An unexpected error occurred: {str(e)}"
183
 
184
+ # rAgent Reasoning using Llama mode OpenAI
185
 
186
  from openai import OpenAI
187
 
 
496
  # --- rAgent Reasoning branch ---
497
  if text.strip().lower().startswith("@ragent"):
498
  prompt = text[len("@ragent"):].strip()
499
+ yield "📝 Initiating reasoning chain using Llama mode..."
500
  # Pass the current chat history (cleaned) to help inform the chain.
501
  for partial in ragent_reasoning(prompt, clean_chat_history(chat_history)):
502
  yield partial